Merge pull request #80 from espressif/bugfix/inttypes_redefined

coap: define HAVE_INTTYPES_H to avoid PRIu32 redifinition
This commit is contained in:
Mahavir Jain 2022-08-08 09:20:51 +05:30 committed by GitHub
commit 8592ab08ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 3 deletions

View File

@ -28,7 +28,7 @@ jobs:
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
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
export PATH=$PWD:$PATH
idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD

View File

@ -1,4 +1,4 @@
version: "4.3.1-rc.1"
version: "4.3.1~1-rc.1"
description: Constrained Application Protocol (CoAP) C Library
url: https://github.com/espressif/idf-extra-components/tree/master/coap
dependencies:

View File

@ -27,6 +27,7 @@
#define HAVE_STDIO_H
#define HAVE_ASSERT_H
#define HAVE_INTTYPES_H
#define PACKAGE_STRING PACKAGE_NAME PACKAGE_VERSION

View File

@ -13,3 +13,5 @@ idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${include}
REQUIRES ${require}
)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")

View File

@ -1,4 +1,4 @@
version: "1.0.0"
version: "1.0.1"
description: USB Host CDC-ACM driver
url: https://github.com/espressif/idf-extra-components/tree/master/usb/usb_host_cdc_acm
dependencies: