From 5377642afbf4b2d3d8a14d3e1441a8e0d58d0de1 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 19 Nov 2026 13:18:03 +1300 Subject: [PATCH] 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 --- boards/cubepilot/io-v2/nuttx-config/nsh/defconfig | 1 - boards/px4/io-v2/nuttx-config/nsh/defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/boards/cubepilot/io-v2/nuttx-config/nsh/defconfig b/boards/cubepilot/io-v2/nuttx-config/nsh/defconfig index 1ede1de5f6c..f3f0876538c 100644 --- a/boards/cubepilot/io-v2/nuttx-config/nsh/defconfig +++ b/boards/cubepilot/io-v2/nuttx-config/nsh/defconfig @@ -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 diff --git a/boards/px4/io-v2/nuttx-config/nsh/defconfig b/boards/px4/io-v2/nuttx-config/nsh/defconfig index a6538f7d1cc..c419008fcc9 100644 --- a/boards/px4/io-v2/nuttx-config/nsh/defconfig +++ b/boards/px4/io-v2/nuttx-config/nsh/defconfig @@ -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