mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
build(boards/io-v2): disable float printf support on the IO boards
The NuttX 12.12 upgrade enabled CONFIG_LIBC_FLOATINGPOINT on the IO boards, where it is off by default (no FPU, DEFAULT_SMALL). Nothing on the IO formats floats, and dropping it saves 3880 B of IO flash, which also ends up in the ROMFS of every FMU that carries the IO firmware. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
1 parent
1239c24f99
commit
5377642afb
2 files changed
-2
No files matched your search
@@ -37,7 +37,6 @@ CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_IDLETHREAD_STACKSIZE=316
|
||||
CONFIG_INIT_ENTRYPOINT="user_start"
|
||||
CONFIG_INIT_STACKSIZE=1100
|
||||
CONFIG_LIBC_FLOATINGPOINT=y
|
||||
CONFIG_LIBM_TOOLCHAIN=y
|
||||
CONFIG_LINE_MAX=128
|
||||
CONFIG_MM_FILL_ALLOCATIONS=y
|
||||
|
||||
@@ -37,7 +37,6 @@ CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_IDLETHREAD_STACKSIZE=316
|
||||
CONFIG_INIT_ENTRYPOINT="user_start"
|
||||
CONFIG_INIT_STACKSIZE=1100
|
||||
CONFIG_LIBC_FLOATINGPOINT=y
|
||||
CONFIG_LIBM_TOOLCHAIN=y
|
||||
CONFIG_LINE_MAX=128
|
||||
CONFIG_MM_FILL_ALLOCATIONS=y
|
||||
|
||||
Reference in new issue
Block a user