This is an automated email from the ASF dual-hosted git repository.
GUIDINGLI pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 2868cbdf3a8 boards/nucleo-l432kc: Disable four NSH file commands in
wgen.
2868cbdf3a8 is described below
commit 2868cbdf3a896c8264764d41d2a8ba32dd8393b2
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Nov 16 21:40:18 2026 +0100
boards/nucleo-l432kc: Disable four NSH file commands in wgen.
On master aebcf867110, the link of nucleo-l432kc:wgen fails:
region `flash' overflowed by 556 bytes (Arm GNU Toolchain 13.2.Rel1).
The Linux (arm-stm32l-u-g) job of CI fails with an overflow of 212 to
348 bytes, also for PRs that do not change this configuration.
This configuration starts the DAC waveform generator (dac_wgen_main).
Disable the NSH commands cp, mv, rm and truncate, as the earlier fit of
this configuration did for other unused commands. Then 5784 bytes of
flash are free.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <[email protected]>
---
boards/arm/stm32l4/nucleo-l432kc/configs/wgen/defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/boards/arm/stm32l4/nucleo-l432kc/configs/wgen/defconfig
b/boards/arm/stm32l4/nucleo-l432kc/configs/wgen/defconfig
index 7c57162adf8..416f02126de 100644
--- a/boards/arm/stm32l4/nucleo-l432kc/configs/wgen/defconfig
+++ b/boards/arm/stm32l4/nucleo-l432kc/configs/wgen/defconfig
@@ -33,6 +33,7 @@ CONFIG_MM_REGIONS=2
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_DISABLE_BASENAME=y
CONFIG_NSH_DISABLE_CMP=y
+CONFIG_NSH_DISABLE_CP=y
CONFIG_NSH_DISABLE_DF=y
CONFIG_NSH_DISABLE_DIRNAME=y
CONFIG_NSH_DISABLE_HEXDUMP=y
@@ -40,8 +41,11 @@ CONFIG_NSH_DISABLE_LOSETUP=y
CONFIG_NSH_DISABLE_MKDIR=y
CONFIG_NSH_DISABLE_MKRD=y
CONFIG_NSH_DISABLE_MOUNT=y
+CONFIG_NSH_DISABLE_MV=y
+CONFIG_NSH_DISABLE_RM=y
CONFIG_NSH_DISABLE_RMDIR=y
CONFIG_NSH_DISABLE_TIME=y
+CONFIG_NSH_DISABLE_TRUNCATE=y
CONFIG_NSH_DISABLE_UMOUNT=y
CONFIG_NSH_DISABLE_WGET=y
CONFIG_NSH_DISABLE_XD=y