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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1b5e62d8070 boards/same70-qmtech: Disable the NSH mount command in 
mcuboot-loader.
1b5e62d8070 is described below

commit 1b5e62d80706587a0ab383c2a9ceef2cab7f1f1f
Author: Marco Casaroli <[email protected]>
AuthorDate: Mon Oct 19 03:31:04 2026 +0200

    boards/same70-qmtech: Disable the NSH mount command in mcuboot-loader.
    
    The mcuboot-loader configuration starts mcuboot_loader_main, not NSH, so
    the NSH mount command can not be used.  The code of the mount command
    became larger with the mount flags of "mount -o", and the image now
    overflows the 128 KiB flash region of the loader by 172 bytes.
    
    Disable the mount command.  The image then has 628 bytes free.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 boards/arm/samv7/same70-qmtech/configs/mcuboot-loader/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/arm/samv7/same70-qmtech/configs/mcuboot-loader/defconfig 
b/boards/arm/samv7/same70-qmtech/configs/mcuboot-loader/defconfig
index 24dacefc83a..f0717bd9b00 100644
--- a/boards/arm/samv7/same70-qmtech/configs/mcuboot-loader/defconfig
+++ b/boards/arm/samv7/same70-qmtech/configs/mcuboot-loader/defconfig
@@ -42,6 +42,7 @@ CONFIG_MCUBOOT_ENABLE_LOGGING=y
 CONFIG_MMCSD_MULTIBLOCK_LIMIT=1
 CONFIG_MMCSD_SDIO=y
 CONFIG_NSH_BUILTIN_APPS=y
+CONFIG_NSH_DISABLE_MOUNT=y
 CONFIG_NSH_FILEIOSIZE=512
 CONFIG_NSH_READLINE=y
 CONFIG_RAM_SIZE=262144

Reply via email to