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:
XiaXiaotian 2017-04-24 11:22:49 +08:00
parent b238bc691d
commit 9d8425bd72

View file

@ -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