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 1f8603ca7c2008757dcf33792658a739fa33a76b
Author: Bowen Wang <[email protected]>
AuthorDate: Wed Nov 25 13:07:40 2026 +0800

    boards/imx93-qsb: shrink the rpmsg configuration to fit the ITCM
    
    imx93-qsb:rpmsg runs from the 126 KB ITCM and no longer links:
    
      arm-none-eabi-ld: region `itcm' overflowed by 480 bytes
    
    Disable DEBUG_FUNCTIONNAME and set RPMSG_DUMP_LEVEL to 0. With
    arm-gnu-toolchain 13.2.rel1 the image shrinks from 129504 to 127344
    bytes; the debug messages lose the "function: " prefix and rpmsg dump
    is no longer supported. Nothing else changes in the configuration.
    
    Signed-off-by: Bowen Wang <[email protected]>
---
 boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig 
b/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig
index 12f7101d8e8..7194f5555a9 100644
--- a/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig
+++ b/boards/arm/imx9/imx93-qsb/configs/rpmsg/defconfig
@@ -7,6 +7,7 @@
 #
 # CONFIG_ARCH_LEDS is not set
 # CONFIG_ARCH_RAMFUNCS is not set
+# CONFIG_DEBUG_FUNCTIONNAME is not set
 # CONFIG_NSH_CMDOPT_HEXDUMP is not set
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="imx93-qsb"
@@ -49,6 +50,7 @@ CONFIG_RAW_BINARY=y
 CONFIG_READLINE_CMD_HISTORY=y
 CONFIG_READLINE_CMD_HISTORY_LEN=8
 CONFIG_READLINE_TABCOMPLETION=y
+CONFIG_RPMSG_DUMP_LEVEL=0
 CONFIG_RPMSG_LOCAL_CPUNAME="m33"
 CONFIG_RPMSG_UART_RAW=y
 CONFIG_RPTUN=y

Reply via email to