This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit aed8c30bde27176f443e442711ee67636a0a1e8a
Author: Marco Casaroli <[email protected]>
AuthorDate: Fri Oct 30 16:57:48 2026 +0100

    boards/stm32f3: Disable the stack dump in buckboost and highpri.
    
    stm32f334-disco:buckboost and nucleo-f334r8:highpri fill their 64 KiB
    flash: buckboost uses 65496 bytes on master with GCC 13.2, and the clang
    build of both is larger.  A small change in common code, such as the
    ESPIPE and O_DIRECTORY checks of the previous commits, does not fit any
    more ("region `flash' overflowed by 16 bytes" with clang in CI).
    
    Disable CONFIG_ARCH_STACKDUMP in these two application configurations.
    It frees about 2.2 KiB in each.  The nsh configurations of both boards
    keep the stack dump.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 boards/arm/stm32f3/nucleo-f334r8/configs/highpri/defconfig     | 1 -
 boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig | 1 -
 2 files changed, 2 deletions(-)

diff --git a/boards/arm/stm32f3/nucleo-f334r8/configs/highpri/defconfig 
b/boards/arm/stm32f3/nucleo-f334r8/configs/highpri/defconfig
index ea71d1ceec5..827e4e411ab 100644
--- a/boards/arm/stm32f3/nucleo-f334r8/configs/highpri/defconfig
+++ b/boards/arm/stm32f3/nucleo-f334r8/configs/highpri/defconfig
@@ -16,7 +16,6 @@ CONFIG_ARCH_CHIP_STM32F334R8=y
 CONFIG_ARCH_CHIP_STM32F3=y
 CONFIG_ARCH_HIPRI_INTERRUPT=y
 CONFIG_ARCH_RAMVECTORS=y
-CONFIG_ARCH_STACKDUMP=y
 CONFIG_BOARDCTL=y
 CONFIG_BOARD_LOOPSPERMSEC=16717
 CONFIG_BUILTIN=y
diff --git a/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig 
b/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig
index 765a459a82c..9ff6964f51b 100644
--- a/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig
+++ b/boards/arm/stm32f3/stm32f334-disco/configs/buckboost/defconfig
@@ -18,7 +18,6 @@ CONFIG_ARCH_CHIP_STM32F334C8=y
 CONFIG_ARCH_CHIP_STM32F3=y
 CONFIG_ARCH_HIPRI_INTERRUPT=y
 CONFIG_ARCH_RAMVECTORS=y
-CONFIG_ARCH_STACKDUMP=y
 CONFIG_BOARDCTL=y
 CONFIG_BOARD_LOOPSPERMSEC=16717
 CONFIG_BUILTIN=y

Reply via email to