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 e876bed96127ecdc743c4b97ae2ba2fc64589d35
Author: jingfei <[email protected]>
AuthorDate: Thu Nov 12 12:35:11 2026 +0800

    boards/verdin-mx8mp: fit rpmsg in the ITCM
    
    verdin-mx8mp:rpmsg no longer fits its 128 KB flash region on master:
    
      arm-none-eabi-ld: region `flash' overflowed by 44 bytes
    
    Disable the du and uptime NSH commands, as b118542e319 did for the
    STM32G431 nsh configurations.  This frees about 1.8 KB.
    
    Signed-off-by: jingfei <[email protected]>
---
 boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig 
b/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig
index 692afe6611d..51a026ba89a 100644
--- a/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig
+++ b/boards/arm/mx8mp/verdin-mx8mp/configs/rpmsg/defconfig
@@ -43,10 +43,12 @@ CONFIG_MX8MP_I2C=y
 CONFIG_MX8MP_RUN_FROM_ITCM=y
 CONFIG_MX8MP_UART4=y
 CONFIG_NSH_BUILTIN_APPS=y
+CONFIG_NSH_DISABLE_DU=y
 CONFIG_NSH_DISABLE_IFCONFIG=y
 CONFIG_NSH_DISABLE_IFUPDOWN=y
 CONFIG_NSH_DISABLE_PS=y
 CONFIG_NSH_DISABLE_RPTUN=y
+CONFIG_NSH_DISABLE_UPTIME=y
 CONFIG_NSH_FILEIOSIZE=512
 CONFIG_NSH_READLINE=y
 CONFIG_PREALLOC_TIMERS=4

Reply via email to