summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/esp8266_common.ld
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/esp8266_common.ld')
-rw-r--r--esp8266/esp8266_common.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/esp8266_common.ld b/esp8266/esp8266_common.ld
index 1da835681a..bc983df700 100644
--- a/esp8266/esp8266_common.ld
+++ b/esp8266/esp8266_common.ld
@@ -19,6 +19,8 @@ EXTERN(_KernelExceptionVector)
EXTERN(_NMIExceptionVector)
EXTERN(_UserExceptionVector)
+_firmware_size = ORIGIN(irom0_0_seg) + LENGTH(irom0_0_seg) - 0x40200000;
+
PROVIDE(_memmap_vecbase_reset = 0x40000000);
/* Various memory-map dependent cache attribute settings: */