2020-04-17 19:34:56 +00: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 07:40:01 +00:00
|
|
|
.text :
|
2020-04-17 19:34:56 +00:00
|
|
|
{
|
|
|
|
*(.text)
|
|
|
|
*(.text*)
|
|
|
|
} >ram
|
|
|
|
|
2021-04-12 06:29:13 +00:00
|
|
|
.rodata ALIGN(4):
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
*(.rodata*)
|
|
|
|
} > ram
|
|
|
|
|
2020-04-17 19:34:56 +00:00
|
|
|
.data ALIGN(4):
|
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
*(.data*)
|
|
|
|
*(.sdata)
|
|
|
|
*(.sdata*)
|
2020-11-10 07:40:01 +00:00
|
|
|
} > ram
|
2020-04-17 19:34:56 +00:00
|
|
|
|
|
|
|
.bss ALIGN(4) :
|
|
|
|
{
|
|
|
|
*(.bss)
|
|
|
|
*(.bss*)
|
|
|
|
*(.sbss)
|
|
|
|
*(.sbss*)
|
|
|
|
} >ram
|
|
|
|
|
|
|
|
__stack_top = ORIGIN(ram) + LENGTH(ram);
|
|
|
|
}
|