nuttx-apps/examples/apa102
Ricard Rosson 569d8f31db examples/apa102: use fprintf() instead of the kernel _err() macro
_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)
2026-08-11 18:13:21 -03:00
..
apa102_main.c examples/apa102: use fprintf() instead of the kernel _err() macro 2026-08-11 18:13:21 -03:00
CMakeLists.txt examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Kconfig examples/apa102: depend on LEDS_APA102, not LCD_APA102 2026-08-11 18:13:21 -03:00
Make.defs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00