Minor linker script additions
This commit is contained in:
parent
8815e75250
commit
48ff4c293b
@ -6,6 +6,7 @@ SECTIONS {
|
|||||||
_rodata_start = ABSOLUTE(.);
|
_rodata_start = ABSOLUTE(.);
|
||||||
. = ALIGN (4);
|
. = ALIGN (4);
|
||||||
*(.rodata .rodata.*)
|
*(.rodata .rodata.*)
|
||||||
|
*(.srodata .srodata.*)
|
||||||
_rodata_end = ABSOLUTE(.);
|
_rodata_end = ABSOLUTE(.);
|
||||||
} > RODATA
|
} > RODATA
|
||||||
|
|
||||||
|
|||||||
@ -28,6 +28,13 @@ INCLUDE "rtc_slow.x"
|
|||||||
INCLUDE "external.x"
|
INCLUDE "external.x"
|
||||||
/* End of Shared sections */
|
/* End of Shared sections */
|
||||||
|
|
||||||
|
// an uninitialized section for use as the wifi-heap in esp-wifi
|
||||||
|
SECTIONS {
|
||||||
|
.dram2_uninit (NOLOAD) : ALIGN(4) {
|
||||||
|
*(.dram2_uninit)
|
||||||
|
} > dram2_seg
|
||||||
|
}
|
||||||
|
|
||||||
_heap_end = ABSOLUTE(ORIGIN(dram_seg))+LENGTH(dram_seg) - 2*STACK_SIZE;
|
_heap_end = ABSOLUTE(ORIGIN(dram_seg))+LENGTH(dram_seg) - 2*STACK_SIZE;
|
||||||
|
|
||||||
_stack_start_cpu1 = _heap_end;
|
_stack_start_cpu1 = _heap_end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user