Commit Graph

4 Commits

Author SHA1 Message Date
Ivan Grokhotkov
1e2b1238c6 cbor: add a workaround for -ffreestanding being passed to clang
Toolchain CMake files for clang currently pass -ffreestanding option
to prevent clang from picking the wrong copy of stdint.h. This is a
temporary hack until we fix clang distributions to not include the
GCC version of stdint.h. This hack, however, results in setting
__STDC_HOSTED__=0, which is being checked by cbor header files,
making some required functions unavailable as a result.
Undefine __STDC_HOSTED__ as a workaround. This flag is only passed
when compiling cbor itself.
2021-09-16 11:07:54 +02:00
Mahavir Jain
8e720db65a cbor: build system cleanup
Some of the special CFLAGS required for masking warnings are no more
required with updated tinycbor release.
2021-09-14 09:45:43 +05:30
Hrishikesh Dhayagude
636d685eab Update tinycbor submodule in ESP-IDF 2020-06-23 08:20:16 +00:00
suda-morris
5a09de8245 cbor: add tinycbor library and example 2019-08-22 17:44:29 +08:00