nuttx-apps/fsutils
Felipe Moura 0e2e851f50 fsutils/libtinycbor: fix build on picolibc/newlib
CONFIG_FSUTILS_TINYCBOR_LIB fails to build on toolchains with their own
<memory.h> (picolibc, newlib): cbortojson.c does "#include <memory.h>"
meaning TinyCBOR's own (where cbor_malloc/cbor_realloc/cbor_free are
declared), but only the parent directory was on the include path, so
the toolchain's own <memory.h> wins instead, leaving those symbols
implicitly declared.

Fix: also put the unpacked tinycbor/ subdirectory (Make.defs' own
TINYCBOR_UNPACKNAME) on the include path.

Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
Assisted-by: Claude:claude-sonnet-5
2026-09-18 21:24:16 +08:00
..
flash_eraseall include/debug.h: fix checkpatch fallout in touched apps files 2026-04-11 10:39:27 -03:00
flashtool flashtool: Fix compile error due to missing statement after default label 2026-07-31 10:32:58 -03:00
inifile include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
inih cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
ipcfg include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
libtinycbor fsutils/libtinycbor: fix build on picolibc/newlib 2026-09-18 21:24:16 +08:00
mkfatfs !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
mkgpt include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
mkmbr fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
mksmartfs fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
passwd nshlib,fsutils: add Kconfig deps for NSH console login with PBKDF2 2026-07-31 10:20:23 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
CMakeLists.txt fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00