linker scripts: Limit DROM/IROM section lengths correctly

This commit is contained in:
Angus Gratton 2017-07-19 16:33:48 +10:00 committed by Angus Gratton
parent d92c541b1a
commit c230e4280c

View file

@ -26,7 +26,7 @@ MEMORY
iram0_0_seg (RX) : org = 0x40080000, len = 0x20000
/* Even though the segment name is iram, it is actually mapped to flash */
iram0_2_seg (RX) : org = 0x400D0018, len = 0x330000
iram0_2_seg (RX) : org = 0x400D0018, len = 0x330000-0x18
/* Shared data RAM, excluding memory reserved for ROM bss/data/stack.
@ -37,7 +37,7 @@ MEMORY
len = 0x50000 - CONFIG_TRACEMEM_RESERVE_DRAM - CONFIG_BT_RESERVE_DRAM
/* Flash mapped constant data */
drom0_0_seg (R) : org = 0x3F400018, len = 0x800000
drom0_0_seg (R) : org = 0x3F400018, len = 0x400000-0x18
/* RTC fast memory (executable). Persists over deep sleep.
*/