mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
boards/[risc-v|xtensa]/esp32[|c3|c6|h2|s3]: set coexiram sections
This commit sets the coexiram (from libcoexist.a) sections on IRAM. Before this commit, no other rules matched such sections and the sections could be placed outside markers that denote the end of the text sections, causing unexpected errors. Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
5a1426d632
commit
216c4b00e2
@@ -118,6 +118,8 @@ SECTIONS
|
||||
*(.iram1)
|
||||
*(.iram1.*)
|
||||
|
||||
*libcoexist.a:(.coexiram .coexiram.*)
|
||||
|
||||
*libsched.a:irq_dispatch.*(.text .text.* .literal .literal.*)
|
||||
*libsched.a:sched_lock.*(.text .text.* .literal .literal.*)
|
||||
*libsched.a:sched_unlock.*(.text .text.* .literal .literal.*)
|
||||
|
||||
@@ -118,6 +118,8 @@ SECTIONS
|
||||
*(.iram1)
|
||||
*(.iram1.*)
|
||||
|
||||
*libcoexist.a:(.coexiram .coexiram.*)
|
||||
|
||||
*libsched.a:irq_dispatch.*(.text .text.* .literal .literal.*)
|
||||
*libsched.a:sched_lock.*(.text .text.* .literal .literal.*)
|
||||
*libsched.a:sched_unlock.*(.text .text.* .literal .literal.*)
|
||||
|
||||
@@ -118,6 +118,8 @@ SECTIONS
|
||||
*(.iram1)
|
||||
*(.iram1.*)
|
||||
|
||||
*libcoexist.a:(.coexiram .coexiram.*)
|
||||
|
||||
*libsched.a:irq_dispatch.*(.text .text.* .literal .literal.*)
|
||||
*libsched.a:sched_lock.*(.text .text.* .literal .literal.*)
|
||||
*libsched.a:sched_unlock.*(.text .text.* .literal .literal.*)
|
||||
|
||||
@@ -153,6 +153,7 @@ SECTIONS
|
||||
_iram_text_start = ABSOLUTE(.);
|
||||
*(.iram1 .iram1.*)
|
||||
esp32_start.*(.literal .text .literal.* .text.*)
|
||||
*libcoexist.a:(.coexiram .coexiram.*)
|
||||
*libphy.a:(.literal .text .literal.* .text.*)
|
||||
*librtc.a:(.literal .text .literal.* .text.*)
|
||||
*libpp.a:(.literal .text .literal.* .text.*)
|
||||
|
||||
@@ -158,7 +158,7 @@ SECTIONS
|
||||
*(.iram1 .iram1.*)
|
||||
esp32s3_start.*(.literal .text .literal.* .text.*)
|
||||
esp32s3_region.*(.literal .text .literal.* .text.*)
|
||||
|
||||
*libcoexist.a:(.coexiram .coexiram.*)
|
||||
*libarch.a:*esp_loader.*(.literal .text .literal.* .text.*)
|
||||
*libarch.a:esp32s3_cpuindex.*(.literal .text .literal.* .text.*)
|
||||
*libarch.a:esp32s3_irq.*(.literal .text .literal.* .text.*)
|
||||
|
||||
Reference in New Issue
Block a user