nuttx-apps/examples/fbcon
Justin Hammond a65a5372f9 examples/fbcon: Do not require a builtin registry to spawn the shell.
fbcon asked the registry of built-in applications for the stack size and
priority to spawn its shell with.  A kernel build has no such registry:
its programs are ELF files in a filesystem, which is exactly what the
posix_spawn() below already handles, PATH search and all.  The lookup
therefore fails to compile there.

Ask the registry only where there is one, and take the numbers from this
example's own configuration otherwise.

Tested on an EIC7700 EVB in a kernel build: fbcon renders its console on
a 1080p HDMI framebuffer and spawns a shell whose prompt appears on the
monitor.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Justin Hammond <justin@dynam.ac>
2026-08-09 03:18:28 +08:00
..
CMakeLists.txt Add Framebuffer Console Example App 2025-03-20 10:19:49 -03:00
fbcon_main.c examples/fbcon: Do not require a builtin registry to spawn the shell. 2026-08-09 03:18:28 +08:00
Kconfig examples/fbcon: Fix endchoice and help in Kconfig 2025-03-21 09:49:06 +08:00
Make.defs Add Framebuffer Console Example App 2025-03-20 10:19:49 -03:00
Makefile Add Framebuffer Console Example App 2025-03-20 10:19:49 -03:00