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 26e97256f435fea750608ed8198d3ae7a457f98c
Author: Marco Casaroli <[email protected]>
AuthorDate: Wed Nov 11 19:05:05 2026 +0100

    boards/verdin-mx8mp: Disable locale support in rpmsg to fit the ITCM.
    
    verdin-mx8mp:rpmsg runs from the 128 KB ITCM.  After #21582 and #21542
    the image does not fit (CI):
    
      arm-none-eabi-ld: region `flash' overflowed by 112 bytes
    
    The rpmsg configuration has CONFIG_LIBC_LOCALE from the nsh
    configuration of the board, where the C++ library needs it.  The rpmsg
    configuration has no C++ and nothing in it uses locale support.  Disable
    it: this saves 352 bytes.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig 
b/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig
index 75024251ec4..692afe6611d 100644
--- a/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig
+++ b/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig
@@ -37,7 +37,6 @@ CONFIG_I2C_RESET=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INPUT=y
 CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_LOCALE=y
 CONFIG_LINE_MAX=64
 CONFIG_MX8MP_I2C4=y
 CONFIG_MX8MP_I2C=y

Reply via email to