update ld file for esp32-s2

This commit is contained in:
duyi 2020-01-16 14:35:55 +08:00 committed by morris
parent d4e5980823
commit 18a05e2ee0
2 changed files with 4 additions and 4 deletions

View file

@ -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: */

View file

@ -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.