Merge pull request #80 from espressif/bugfix/inttypes_redefined
coap: define HAVE_INTTYPES_H to avoid PRIu32 redifinition
This commit is contained in:
commit
8592ab08ed
|
@ -28,7 +28,7 @@ jobs:
|
||||||
pip install pyclang~=0.2.0
|
pip install pyclang~=0.2.0
|
||||||
curl -sSL https://raw.githubusercontent.com/espressif/llvm-project/xtensa_release_12.0.1/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py -o run-clang-tidy.py
|
curl -sSL https://raw.githubusercontent.com/espressif/llvm-project/xtensa_release_12.0.1/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py -o run-clang-tidy.py
|
||||||
chmod +x run-clang-tidy.py
|
chmod +x run-clang-tidy.py
|
||||||
curl -sSL https://github.com/psastras/sarif-rs/releases/download/clang-tidy-sarif-latest/clang-tidy-sarif-x86_64-unknown-linux-gnu -o clang-tidy-sarif
|
curl -sSL https://github.com/psastras/sarif-rs/releases/download/clang-tidy-sarif-v0.3.1/clang-tidy-sarif-x86_64-unknown-linux-gnu -o clang-tidy-sarif
|
||||||
chmod +x clang-tidy-sarif
|
chmod +x clang-tidy-sarif
|
||||||
export PATH=$PWD:$PATH
|
export PATH=$PWD:$PATH
|
||||||
idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD
|
idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: "4.3.1-rc.1"
|
version: "4.3.1~1-rc.1"
|
||||||
description: Constrained Application Protocol (CoAP) C Library
|
description: Constrained Application Protocol (CoAP) C Library
|
||||||
url: https://github.com/espressif/idf-extra-components/tree/master/coap
|
url: https://github.com/espressif/idf-extra-components/tree/master/coap
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
#define HAVE_STDIO_H
|
#define HAVE_STDIO_H
|
||||||
#define HAVE_ASSERT_H
|
#define HAVE_ASSERT_H
|
||||||
|
#define HAVE_INTTYPES_H
|
||||||
|
|
||||||
#define PACKAGE_STRING PACKAGE_NAME PACKAGE_VERSION
|
#define PACKAGE_STRING PACKAGE_NAME PACKAGE_VERSION
|
||||||
|
|
||||||
|
|
|
@ -13,3 +13,5 @@ idf_component_register(SRCS ${srcs}
|
||||||
INCLUDE_DIRS ${include}
|
INCLUDE_DIRS ${include}
|
||||||
REQUIRES ${require}
|
REQUIRES ${require}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: "1.0.0"
|
version: "1.0.1"
|
||||||
description: USB Host CDC-ACM driver
|
description: USB Host CDC-ACM driver
|
||||||
url: https://github.com/espressif/idf-extra-components/tree/master/usb/usb_host_cdc_acm
|
url: https://github.com/espressif/idf-extra-components/tree/master/usb/usb_host_cdc_acm
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in New Issue