1/* 2 * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7MEMORY { 8 iram : org = 0x40800000, len = 0x4000 9 dram : org = 0x40830000, len = 0x18000 10} 11 12ENTRY(stub_main) 13 14SECTIONS { 15 .text : ALIGN(4) { 16 *(.literal) 17 *(.text .text.*) 18 } > iram 19 20 .bss : ALIGN(4) { 21 _bss_start = ABSOLUTE(.); 22 *(.bss) 23 _bss_end = ABSOLUTE(.); 24 } > dram 25 26 .data : ALIGN(4) { 27 *(.data) 28 *(.rodata .rodata.*) 29 } > dram 30} 31 32INCLUDE "rom_32h2.ld" 33