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 d364076275
commit 8602504ff7
5 changed files with 53 additions and 37 deletions

View File

@@ -27,7 +27,7 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = CONFIG_SOC_IRAM_SIZE
/* It is actually mapped to flash. */
irom0_0_seg : org = 0x40200010 + APP_OFFSET, len = APP_SIZE - 0x10
irom0_0_seg : org = 0x40200010 + (APP_OFFSET & (0x100000 - 1)), len = APP_SIZE - 0x10
/* RTC memory, persists over deep sleep. */
rtc_seg : org = 0x60001200, len = 0x200