esp32s3/bootloader: extend IRAM usage to 0x6000

The bootloader cannot fit in the size of iram_loader_seg when built under -O0. Extend the IRAM size to fix this.
This commit is contained in:
Michael (XIAO Xufeng)
2020-09-30 16:24:27 +08:00
parent 72a31a62c7
commit 953c046550
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
#define SRAM_IRAM_START 0x40370000
#define SRAM_DRAM_START 0x3FC80000
#define I_D_SRAM_OFFSET (SRAM_IRAM_START - SRAM_DRAM_START)
#define SRAM_DRAM_END 0x403BC000 - I_D_SRAM_OFFSET /* 2nd stage bootloader iram_loader_seg start address */
#define SRAM_DRAM_END 0x403BA000 - I_D_SRAM_OFFSET /* 2nd stage bootloader iram_loader_seg start address */
#define SRAM_IRAM_ORG (SRAM_IRAM_START + CONFIG_ESP32S3_INSTRUCTION_CACHE_SIZE)
#define SRAM_DRAM_ORG (SRAM_DRAM_START + CONFIG_ESP32S3_INSTRUCTION_CACHE_SIZE)