mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02: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:
@@ -112,6 +112,7 @@ SECTIONS
|
||||
*(.dram1 .dram1.*)
|
||||
*libesp32.a:panic.o(.rodata .rodata.*)
|
||||
*libesp32.a:app_trace.o(.rodata .rodata.*)
|
||||
*libphy.a:(.rodata .rodata.*)
|
||||
_data_end = ABSOLUTE(.);
|
||||
. = ALIGN(4);
|
||||
} >dram0_0_seg
|
||||
|
Reference in New Issue
Block a user