mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
put RODATA of libphy.a into DRAM
There are some RODATAs of libphy.a that are called in ISR. So need to put them into DRAM to avoid access them when R/W SPI flash. Due to the RODATAs which are called in ISR haven't been picked out to put into DRAM, put all of the RODATA of libphy.a into DRAM. This will be optimized in the future.
This commit is contained in:
parent
b238bc691d
commit
9d8425bd72
@ -112,6 +112,7 @@ SECTIONS
|
|||||||
*(.dram1 .dram1.*)
|
*(.dram1 .dram1.*)
|
||||||
*libesp32.a:panic.o(.rodata .rodata.*)
|
*libesp32.a:panic.o(.rodata .rodata.*)
|
||||||
*libesp32.a:app_trace.o(.rodata .rodata.*)
|
*libesp32.a:app_trace.o(.rodata .rodata.*)
|
||||||
|
*libphy.a:(.rodata .rodata.*)
|
||||||
_data_end = ABSOLUTE(.);
|
_data_end = ABSOLUTE(.);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} >dram0_0_seg
|
} >dram0_0_seg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user