mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 12:50:53 +00:00

* Combine `esp-ulp-riscv-hal` and `esp32c6-lp-hal` into a single package * Update LP core examples * Update CI workflow * Fix `LP_UART` example
54 lines
840 B
Plaintext
54 lines
840 B
Plaintext
/*
|
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
ENTRY(reset_vector)
|
|
|
|
CONFIG_ULP_COPROC_RESERVE_MEM = 8 * 1024;
|
|
|
|
MEMORY
|
|
{
|
|
ram(RW) : ORIGIN = 0, LENGTH = CONFIG_ULP_COPROC_RESERVE_MEM
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
. = ORIGIN(ram);
|
|
|
|
.text :
|
|
{
|
|
*(.text.vectors) /* Default reset vector must link to offset 0x0 */
|
|
|
|
KEEP(*(.init));
|
|
KEEP(*(.init.rust));
|
|
*(.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);
|
|
}
|