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

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

commit 0e5e71cc0865ac68206db5817a4c6b9bc3f1e099
Author: Filipe Cavalcanti <[email protected]>
AuthorDate: Thu Apr 16 15:55:25 2026 -0300

    arch/risc-v: update MCUBoot slot size and offsets
    
    Increase image slot size from ~1MB to ~1.4MB to allow more features by 
default.
    Solves issues when enabling debug features would extrapolate the slot size.
    
    Signed-off-by: Filipe Cavalcanti <[email protected]>
---
 arch/risc-v/src/common/espressif/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/risc-v/src/common/espressif/Kconfig 
b/arch/risc-v/src/common/espressif/Kconfig
index 65d93931503..c883ef4a141 100644
--- a/arch/risc-v/src/common/espressif/Kconfig
+++ b/arch/risc-v/src/common/espressif/Kconfig
@@ -468,7 +468,7 @@ config ESPRESSIF_OTA_PRIMARY_SLOT_DEVPATH
 
 config ESPRESSIF_OTA_SECONDARY_SLOT_OFFSET
        hex "Application image secondary slot offset"
-       default 0x120000
+       default 0x170000
 
 config ESPRESSIF_OTA_SECONDARY_SLOT_DEVPATH
        string "Application image secondary slot device path"
@@ -476,11 +476,11 @@ config ESPRESSIF_OTA_SECONDARY_SLOT_DEVPATH
 
 config ESPRESSIF_OTA_SLOT_SIZE
        hex "Application image slot size (in bytes)"
-       default 0x100000
+       default 0x150000
 
 config ESPRESSIF_OTA_SCRATCH_OFFSET
        hex "Scratch partition offset"
-       default 0x220000
+       default 0x2C0000
 
 config ESPRESSIF_OTA_SCRATCH_SIZE
        hex "Scratch partition size"
@@ -3142,7 +3142,7 @@ config ESPRESSIF_STORAGE_MTD_DEBUG
 config ESPRESSIF_STORAGE_MTD_OFFSET
        hex "Storage MTD base address in SPI Flash"
        default 0x180000 if !ESPRESSIF_BOOTLOADER_MCUBOOT
-       default 0x260000 if ESPRESSIF_BOOTLOADER_MCUBOOT
+       default 0x300000 if ESPRESSIF_BOOTLOADER_MCUBOOT
        depends on ESPRESSIF_MTD
        ---help---
                MTD base address in SPI Flash.

Reply via email to