2021-12-23 01:12:47 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
#include "sdkconfig.h"
|
|
|
|
|
|
|
|
ENTRY(reset_vector)
|
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
2022-01-21 04:13:48 -05:00
|
|
|
ram(RW) : ORIGIN = 0, LENGTH = CONFIG_ULP_COPROC_RESERVE_MEM
|
2021-12-23 01:12:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
. = ORIGIN(ram);
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
*start.S.obj(.text.vectors) /* Default reset vector must link to offset 0x0 */
|
|
|
|
*(.text)
|
|
|
|
*(.text*)
|
|
|
|
} >ram
|
|
|
|
|
|
|
|
.rodata ALIGN(4):
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
*(.rodata*)
|
|
|
|
} > ram
|
|
|
|
|
|
|
|
.data ALIGN(4):
|
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
*(.data*)
|
|
|
|
*(.sdata)
|
|
|
|
*(.sdata*)
|
|
|
|
} > ram
|
|
|
|
|
|
|
|
.bss ALIGN(4) :
|
|
|
|
{
|
|
|
|
*(.bss)
|
|
|
|
*(.bss*)
|
|
|
|
*(.sbss)
|
|
|
|
*(.sbss*)
|
|
|
|
} >ram
|
|
|
|
|
|
|
|
__stack_top = ORIGIN(ram) + LENGTH(ram);
|
|
|
|
}
|