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 2054326103b boards/stm32f334-disco: disable uptime in buckboost to fit
flash
2054326103b is described below
commit 2054326103be7f857cc64c9b3bae3d0621045605
Author: yangsong8 <[email protected]>
AuthorDate: Thu Nov 12 20:54:47 2026 +0800
boards/stm32f334-disco: disable uptime in buckboost to fit flash
stm32f334-disco:buckboost no longer fits the 64 KiB flash on master:
with the CI CMake flow the link fails with "region `flash' overflowed".
Most of the recent growth comes from mm_initialize_heap() now calling
lib_memalign(), which pulls mm_memalign() into this small build.
The uptime command is not needed by the buck-boost example. Disabling
it removes cmd_uptime and its helpers and saves about 1.9 KiB of flash.
Assisted-by: Kiro:claude-opus-5-5
Signed-off-by: yangsong8 <[email protected]>
---
boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig
b/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig
index 9ff6964f51b..23ceadc333b 100644
--- a/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig
+++ b/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig
@@ -79,6 +79,7 @@ CONFIG_NSH_DISABLE_TIME=y
CONFIG_NSH_DISABLE_UMOUNT=y
CONFIG_NSH_DISABLE_UNAME=y
CONFIG_NSH_DISABLE_UNSET=y
+CONFIG_NSH_DISABLE_UPTIME=y
CONFIG_NSH_DISABLE_USLEEP=y
CONFIG_NSH_DISABLE_WGET=y
CONFIG_NSH_DISABLE_XD=y