1#include "sdkconfig.h" 2 3ENTRY(reset_vector) 4 5MEMORY 6{ 7 ram(RW) : ORIGIN = 0, LENGTH = CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM 8} 9 10SECTIONS 11{ 12 . = ORIGIN(ram); 13 .text : 14 { 15 *start.S.obj(.text.vectors) /* Default reset vector must link to offset 0x0 */ 16 *(.text) 17 *(.text*) 18 } >ram 19 20 .rodata ALIGN(4): 21 { 22 *(.rodata) 23 *(.rodata*) 24 } > ram 25 26 .data ALIGN(4): 27 { 28 *(.data) 29 *(.data*) 30 *(.sdata) 31 *(.sdata*) 32 } > ram 33 34 .bss ALIGN(4) : 35 { 36 *(.bss) 37 *(.bss*) 38 *(.sbss) 39 *(.sbss*) 40 } >ram 41 42 __stack_top = ORIGIN(ram) + LENGTH(ram); 43} 44