Skip to content
Snippets Groups Projects
Commit b4793197 authored by Josef Gajdusek's avatar Josef Gajdusek Committed by Damien George
Browse files

esp8266: Update the linker script

Moved modesp.o to flash and increased size of the irom0_0_seg segment. The new
value was taken from NodeMCU linker script.
parent 1db42538
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ MEMORY ...@@ -5,7 +5,7 @@ MEMORY
dport0_0_seg : org = 0x3ff00000, len = 0x10 dport0_0_seg : org = 0x3ff00000, len = 0x10
dram0_0_seg : org = 0x3ffe8000, len = 0x14000 dram0_0_seg : org = 0x3ffe8000, len = 0x14000
iram1_0_seg : org = 0x40100000, len = 0x8000 iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40210000, len = 0x40000 irom0_0_seg : org = 0x40210000, len = 0x5A000
} }
/* define the top of RAM */ /* define the top of RAM */
...@@ -82,6 +82,7 @@ SECTIONS ...@@ -82,6 +82,7 @@ SECTIONS
*modpyb.o(.literal*, .text*) *modpyb.o(.literal*, .text*)
*gccollect.o(.literal* .text*) *gccollect.o(.literal* .text*)
*gchelper.o(.literal* .text*) *gchelper.o(.literal* .text*)
*modesp.o(.literal* .text*)
/* we put as much rodata as possible in this section */ /* we put as much rodata as possible in this section */
/* note that only rodata accessed as a machine word is allowed here */ /* note that only rodata accessed as a machine word is allowed here */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment