2021-12-23 01:12:47 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2017-01-08 23:38:20 -05:00
|
|
|
#include "sdkconfig.h"
|
|
|
|
|
|
|
|
#define ULP_BIN_MAGIC 0x00706c75
|
|
|
|
#define HEADER_SIZE 12
|
|
|
|
MEMORY
|
|
|
|
{
|
2022-01-21 04:13:48 -05:00
|
|
|
ram(RW) : ORIGIN = 0, LENGTH = CONFIG_ULP_COPROC_RESERVE_MEM
|
2017-01-08 23:38:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text : AT(HEADER_SIZE)
|
|
|
|
{
|
|
|
|
*(.text)
|
|
|
|
} >ram
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
*(.data)
|
|
|
|
} >ram
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
*(.bss)
|
|
|
|
} >ram
|
2020-04-17 15:34:56 -04:00
|
|
|
|
2017-01-08 23:38:20 -05:00
|
|
|
.header : AT(0)
|
|
|
|
{
|
|
|
|
LONG(ULP_BIN_MAGIC)
|
2020-11-10 02:40:01 -05:00
|
|
|
SHORT(LOADADDR(.text))
|
2017-01-08 23:38:20 -05:00
|
|
|
SHORT(SIZEOF(.text))
|
|
|
|
SHORT(SIZEOF(.data))
|
|
|
|
SHORT(SIZEOF(.bss))
|
|
|
|
}
|
|
|
|
}
|