Skip to content

Commit dfdd841

Browse files
committed
xtensa/esp32s3: Fix esp32s3 sched_lock crash
Signed-off-by: hujun5 <[email protected]>
1 parent 9a61a1d commit dfdd841

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

boards/xtensa/esp32s3/common/scripts/esp32s3_sections.ld

+2
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,11 @@ SECTIONS
134134
*libsched.a:irq_csection.*(.literal .text .literal.* .text.*)
135135
*libsched.a:irq_dispatch.*(.literal .text .literal.* .text.*)
136136
*libsched.a:irq_spinlock.*(.literal .text .literal.* .text.*)
137+
*libsched.a:sched_lock.*(.literal .text .literal.* .text.*)
137138
*libsched.a:sched_note.*(.literal .text .literal.* .text.*)
138139
*libsched.a:sched_suspendscheduler.*(.literal .text .literal.* .text.*)
139140
*libsched.a:sched_thistask.*(.literal .text .literal.* .text.*)
141+
*libsched.a:sched_unlock.*(.literal .text .literal.* .text.*)
140142
*libsched.a:spinlock.*(.literal .text .literal.* .text.*)
141143
*libsched.a:*sched_get_stackinfo.*(.literal .text .literal.* .text.*)
142144
*libsched.a:stack_record.*(.literal .text .literal.* .text.*)

boards/xtensa/esp32s3/common/scripts/legacy_sections.ld

+2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@ SECTIONS
100100
*libsched.a:irq_csection.*(.literal .text .literal.* .text.*)
101101
*libsched.a:irq_dispatch.*(.literal .text .literal.* .text.*)
102102
*libsched.a:irq_spinlock.*(.literal .text .literal.* .text.*)
103+
*libsched.a:sched_lock.*(.literal .text .literal.* .text.*)
103104
*libsched.a:sched_note.*(.literal .text .literal.* .text.*)
104105
*libsched.a:sched_suspendscheduler.*(.literal .text .literal.* .text.*)
105106
*libsched.a:sched_thistask.*(.literal .text .literal.* .text.*)
107+
*libsched.a:sched_unlock.*(.literal .text .literal.* .text.*)
106108
*libsched.a:spinlock.*(.literal .text .literal.* .text.*)
107109
*libsched.a:stack_record.*(.literal .text .literal.* .text.*)
108110

boards/xtensa/esp32s3/common/scripts/mcuboot_sections.ld

+2
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,11 @@ SECTIONS
208208
*libsched.a:irq_csection.*(.literal .text .literal.* .text.*)
209209
*libsched.a:irq_dispatch.*(.literal .text .literal.* .text.*)
210210
*libsched.a:irq_spinlock.*(.literal .text .literal.* .text.*)
211+
*libsched.a:sched_lock.*(.literal .text .literal.* .text.*)
211212
*libsched.a:sched_note.*(.literal .text .literal.* .text.*)
212213
*libsched.a:sched_suspendscheduler.*(.literal .text .literal.* .text.*)
213214
*libsched.a:sched_thistask.*(.literal .text .literal.* .text.*)
215+
*libsched.a:sched_unlock.*(.literal .text .literal.* .text.*)
214216
*libsched.a:spinlock.*(.literal .text .literal.* .text.*)
215217
*libsched.a:stack_record.*(.literal .text .literal.* .text.*)
216218

0 commit comments

Comments
 (0)