2016-08-19 06:28:32 -04:00
|
|
|
/* THESE ARE THE VIRTUAL RUNTIME ADDRESSES */
|
|
|
|
/* The load addresses are defined later using the AT statements. */
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
/* All these values assume the flash cache is on, and have the blocks this uses subtracted from the length
|
|
|
|
of the various regions. The 'data access port' dram/drom regions map to the same iram/irom regions but
|
|
|
|
are connected to the data port of the CPU and eg allow bytewise access. */
|
2016-08-19 06:40:51 -04:00
|
|
|
iram0_0_seg (RX) : org = 0x40080000, len = 0x20000 /* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */
|
2016-08-19 06:28:32 -04:00
|
|
|
iram0_2_seg (RX) : org = 0x400D0018, len = 0x330000 /* Even though the segment name is iram, it is actually mapped to flash */
|
2016-08-19 06:40:51 -04:00
|
|
|
dram0_0_seg (RW) : org = 0x3FFB0000, len = 0x50000 /* Shared RAM, minus rom bss/data/stack.*/
|
2016-08-19 06:28:32 -04:00
|
|
|
drom0_0_seg (R) : org = 0x3F400010, len = 0x800000
|
2016-09-12 03:23:15 -04:00
|
|
|
|
|
|
|
/* RTC fast memory (executable). Persists over deep sleep.
|
|
|
|
*/
|
|
|
|
rtc_iram_seg(RWX) : org = 0x400C0000, len = 0x2000
|
|
|
|
/* RTC slow memory (data accessible). Persists over deep sleep. */
|
|
|
|
rtc_slow_seg(RW) : org = 0x50000000, len = 0x2000
|
2016-08-19 06:28:32 -04:00
|
|
|
}
|
|
|
|
|
2016-08-19 06:40:51 -04:00
|
|
|
_heap_end = 0x40000000;
|