Update tinycbor submodule in ESP-IDF

This commit is contained in:
Hrishikesh Dhayagude 2020-06-22 17:18:40 +05:30 committed by bot
parent 26272af3b4
commit 636d685eab
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ idf_component_register(SRCS "tinycbor/src/cborencoder_close_container_checked.c"
PRIV_INCLUDE_DIRS "tinycbor/src")
# for open_memstream.c
target_compile_definitions(${COMPONENT_LIB} PRIVATE "__GLIBC__")
set_source_files_properties(tinycbor/src/open_memstream.c PROPERTIES COMPILE_DEFINITIONS "__linux__")
# cbortojson.c:378:17: assignment discards 'const' qualifier from pointer target type
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-discarded-qualifiers")

View file

@ -3,6 +3,6 @@ COMPONENT_ADD_INCLUDEDIRS := port/include
COMPONENT_SRCDIRS := tinycbor/src
COMPONENT_PRIV_INCLUDEDIRS := tinycbor/src
tinycbor/src/open_memstream.o: CFLAGS += -D__GLIBC__
tinycbor/src/open_memstream.o: CFLAGS += -D__linux__
tinycbor/src/cbortojson.o: CFLAGS += -Wno-discarded-qualifiers
tinycbor/src/cborvalidation.o: CFLAGS += -Wno-maybe-uninitialized

@ -1 +1 @@
Subproject commit d2dd95cb8841d88d5a801e3ef9c328fd6200e7bd
Subproject commit 085ca40781f7c39febe6d14fb7e5cba342e1804b