diff --git a/components/bootloader/subproject/main/ld/esp32s2beta/bootloader.ld b/components/bootloader/subproject/main/ld/esp32s2beta/bootloader.ld index 70369667f2..25721f2d93 100644 --- a/components/bootloader/subproject/main/ld/esp32s2beta/bootloader.ld +++ b/components/bootloader/subproject/main/ld/esp32s2beta/bootloader.ld @@ -5,9 +5,9 @@ MEMORY { - iram_loader_seg (RWX) : org = 0x40060000, len = 0x4000 /* 16KB, SRAM Block_18 */ - iram_seg (RWX) : org = 0x40064000, len = 0x4000 /* 16KB, SRAM Block_19 */ - dram_seg (RW) : org = 0x3FFF8000, len = 0x4000 /* 16KB, SRAM Block_20 */ + iram_loader_seg (RWX) : org = 0x40050000, len = 0x4000 /* 16KB, SRAM Block_14 */ + iram_seg (RWX) : org = 0x40054000, len = 0x4000 /* 16KB, SRAM Block_15 */ + dram_seg (RW) : org = 0x3FFE8000, len = 0x2800 /* 10KB, Top of SRAM Block_16, and before ROM data and stack */ } /* Default entry point: */ diff --git a/components/esp32s2beta/ld/esp32s2beta.ld b/components/esp32s2beta/ld/esp32s2beta.ld index 1761b050d2..4b55693d17 100644 --- a/components/esp32s2beta/ld/esp32s2beta.ld +++ b/components/esp32s2beta/ld/esp32s2beta.ld @@ -48,7 +48,7 @@ MEMORY /* Even though the segment name is iram, it is actually mapped to flash */ - iram0_2_seg (RX) : org = 0x40080020, len = 0x380000-0x20 + iram0_2_seg (RX) : org = 0x40080020, len = 0x780000-0x20 /* (0x20 offset above is a convenience for the app binary image generation.