mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
22 lines
675 B
Plaintext
22 lines
675 B
Plaintext
ENTRY(Reset_Handler);
|
|
MEMORY {
|
|
flash(rx) : ORIGIN = 0x08000000, LENGTH = 1024k
|
|
sram(rwx) : ORIGIN = 0x20000000, LENGTH = 320k
|
|
}
|
|
_estack = ORIGIN(sram) + LENGTH(sram);
|
|
|
|
SECTIONS {
|
|
.vectors : { KEEP(*(.isr_vector)) } > flash
|
|
.text : { *(.text* .text.*) } > flash
|
|
.rodata : { *(.rodata*) } > flash
|
|
|
|
/* Note the .iram section, for functions copied to RAM. Required for MG_IRAM OTA support */
|
|
.data : { _sdata = .; *(.first_data) *(.iram .iram* .iram.*) *(.data SORT(.data.*)) _edata = .; } > sram AT > flash
|
|
_sidata = LOADADDR(.data);
|
|
|
|
.bss : { _sbss = .; *(.bss SORT(.bss.*) COMMON) _ebss = .; } > sram
|
|
|
|
. = ALIGN(8);
|
|
_end = .;
|
|
}
|