mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-19 04:28:28 +00:00
_err() is a kernel-internal debug macro from <debug.h>; it resolves to the kernel-only _err symbol, which an application cannot reference. In a flat build the example therefore fails to link: apa102_main.c: undefined reference to `_err' (observed on xtensa/esp32s3). Report the failure with fprintf(stderr), which is what the open() error path a few lines above already does. Signed-off-by: Ricard Rosson <ricard@groundbits.com> Assisted-by: Claude Opus 5 (Claude Code) |
||
|---|---|---|
| .. | ||
| apa102_main.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||