From 160edb5f2a40cffb2195cbe7bcf24aadf7b26f9f Mon Sep 17 00:00:00 2001 From: Zhang WenChao Date: Thu, 6 Feb 2025 18:29:19 +0800 Subject: [PATCH] soc: esp32c3: bump esp32c3 bootloader iram and dram sizes. fix mcuboot sign overflow Signed-off-by: Zhang WenChao --- soc/espressif/esp32c3/memory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soc/espressif/esp32c3/memory.h b/soc/espressif/esp32c3/memory.h index 87a832169fc7..4f638db35c27 100644 --- a/soc/espressif/esp32c3/memory.h +++ b/soc/espressif/esp32c3/memory.h @@ -46,8 +46,8 @@ /* For safety margin between bootloader data section and startup stacks */ #define BOOTLOADER_STACK_OVERHEAD 0x0 /* These lengths can be adjusted, if necessary: */ -#define BOOTLOADER_DRAM_SEG_LEN 0x9800 -#define BOOTLOADER_IRAM_SEG_LEN 0x9800 +#define BOOTLOADER_DRAM_SEG_LEN 0xe800 +#define BOOTLOADER_IRAM_SEG_LEN 0xe800 #define BOOTLOADER_IRAM_LOADER_SEG_LEN 0x1400 /* Start of the lower region is determined by region size and the end of the higher region */