Skip to content

Commit 2f85ef1

Browse files
committed
esp32c3: add some sections to the linker script
This is necessary to support the WiFi binary blobs from Espressif.
1 parent c18e6fb commit 2f85ef1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

targets/esp32c3.ld

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ SECTIONS
9797
_sdata = ABSOLUTE(.);
9898
*(.sdata)
9999
*(.data .data.*)
100+
*(.dram1 .dram1.*)
100101
. = ALIGN (4);
101102
_edata = ABSOLUTE(.);
102103
} >DRAM
@@ -119,6 +120,10 @@ SECTIONS
119120
.init : ALIGN(4)
120121
{
121122
*(.init)
123+
*(.iram1 .iram1.*)
124+
*(.wifi0iram .wifi0iram.*)
125+
*(.wifirxiram .wifirxiram.*)
126+
*(.wifislprxiram .wifislprxiram.*)
122127
} >IRAM
123128

124129
/* Dummy section to put the IROM segment exactly behind the IRAM segment.
@@ -142,6 +147,7 @@ SECTIONS
142147
.text : ALIGN(4)
143148
{
144149
*(.text .text.*)
150+
*(.wifislpiram .wifislpiram.*)
145151
} >IROM
146152

147153
/DISCARD/ :

0 commit comments

Comments
 (0)