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

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

commit 2909b1daddfd30e2e367c7608a82c341ffd601af
Author: chao an <[email protected]>
AuthorDate: Thu Oct 16 18:14:26 2025 +0800

    sam3u-ek/knsh: disable LIBC_TEMPBUFFER to save code size
    
    Fix build break:
    
    | arm-none-eabi-ld: /home/archer/code/nuttx/nuttx section `.data' will not 
fit in region `kflash'
    | arm-none-eabi-ld: region `kflash' overflowed by 96 bytes
    | Memory region         Used Size  Region Size  %age Used
    |           kflash:       65632 B        64 KB    100.15%
    |           uflash:           0 B        64 KB      0.00%
    |           xflash:           0 B       128 KB      0.00%
    |           ksram1:        4716 B         6 KB     76.76%
    |           usram1:           0 B         4 KB      0.00%
    |           xsram1:           0 B        22 KB      0.00%
    |            sram2:           0 B        16 KB      0.00%
    | make[1]: *** [Makefile:217: nuttx] Error 1
    | make: *** [tools/Unix.mk:542: nuttx] Error 2
    
    Signed-off-by: chao an <[email protected]>
---
 boards/arm/sam34/sam3u-ek/configs/knsh/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/arm/sam34/sam3u-ek/configs/knsh/defconfig 
b/boards/arm/sam34/sam3u-ek/configs/knsh/defconfig
index 04b4b29fa20..fbc64639b46 100644
--- a/boards/arm/sam34/sam3u-ek/configs/knsh/defconfig
+++ b/boards/arm/sam34/sam3u-ek/configs/knsh/defconfig
@@ -6,6 +6,7 @@
 # modifications.
 #
 # CONFIG_ARCH_RAMFUNCS is not set
+# CONFIG_LIBC_TEMPBUFFER is not set
 # CONFIG_MMCSD_HAVE_CARDDETECT is not set
 # CONFIG_MMCSD_MMCSUPPORT is not set
 # CONFIG_NSH_DISABLE_IFCONFIG is not set

Reply via email to