mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-01 11:26:39 +00:00
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 |
||
|---|---|---|
| .. | ||
| flash_eraseall | ||
| flashtool | ||
| inifile | ||
| inih | ||
| ipcfg | ||
| libtinycbor | ||
| mkfatfs | ||
| mkgpt | ||
| mkmbr | ||
| mksmartfs | ||
| passwd | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Make.defs | ||
| Makefile | ||