2020-04-17 15:34:56 -04:00
|
|
|
#include "sdkconfig.h"
|
|
|
|
|
|
|
|
ENTRY(reset_vector)
|
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
ram(RW) : ORIGIN = 0, LENGTH = CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM
|
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = ORIGIN(ram);
|
2020-11-10 02:40:01 -05:00
|
|
|
.text :
|
2020-04-17 15:34:56 -04:00
|
|
|
{
|
2021-05-05 03:53:47 -04:00
|
|
|
*start.S.obj(.text.vectors) /* Default reset vector must link to offset 0x0 */
|
2020-04-17 15:34:56 -04:00
|
|
|
*(.text)
|
|
|
|
*(.text*)
|
|
|
|
} >ram
|
|
|
|
|
2021-04-12 02:29:13 -04:00
|
|
|
.rodata ALIGN(4):
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
*(.rodata*)
|
|
|
|
} > ram
|
|
|
|
|
2020-04-17 15:34:56 -04:00
|
|
|
.data ALIGN(4):
|
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
*(.data*)
|
|
|
|
*(.sdata)
|
|
|
|
*(.sdata*)
|
2020-11-10 02:40:01 -05:00
|
|
|
} > ram
|
2020-04-17 15:34:56 -04:00
|
|
|
|
|
|
|
.bss ALIGN(4) :
|
|
|
|
{
|
|
|
|
*(.bss)
|
|
|
|
*(.bss*)
|
|
|
|
*(.sbss)
|
|
|
|
*(.sbss*)
|
|
|
|
} >ram
|
|
|
|
|
|
|
|
__stack_top = ORIGIN(ram) + LENGTH(ram);
|
|
|
|
}
|