feat(esp8266): support link firmware to all regions of 8MB flash

This commit is contained in:
Dong Heng
2020-02-28 15:52:30 +08:00
parent c4f549dbc1
commit 6a22a95d72
5 changed files with 53 additions and 37 deletions

View File

@ -25,7 +25,7 @@ MEMORY
iram0_0_seg (RX) : org = 0x40100000, len = CONFIG_SOC_IRAM_SIZE
/* Even though the segment name is iram, it is actually mapped to flash and mapped constant data */
iram0_2_seg (RX) : org = 0x40200010 + APP_OFFSET,
iram0_2_seg (RX) : org = 0x40200010 + (APP_OFFSET & (0x100000 - 1)),
len = APP_SIZE - 0x10
/*