Skip to content

Commit a31d07b

Browse files
committed
move rodata segment of libphy.a to dram
1. rodata segment of libphy.a(about 1200B) can be accessed by ISRs, so put it into DRAM
1 parent ed1dfe9 commit a31d07b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/esp32/ld/esp32.common.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ SECTIONS
115115
*(.jcr)
116116
*(.dram1 .dram1.*)
117117
*libesp32.a:panic.o(.rodata .rodata.*)
118+
*libphy.a:(.rodata .rodata.*)
118119
*libsoc.a:rtc_clk.o(.rodata .rodata.*)
119120
*libapp_trace.a:(.rodata .rodata.*)
120121
*libgcov.a:(.rodata .rodata.*)

0 commit comments

Comments
 (0)