mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-16 10:29:22 +08:00
24 lines
451 B
Plaintext
24 lines
451 B
Plaintext
ENTRY(_reset)
|
|
_estack = 0x20001000;
|
|
MEMORY {
|
|
rom(rx) : ORIGIN = 0x08000000, LENGTH = 128k
|
|
ram(rwx) : ORIGIN = 0x20000000, LENGTH = 20k
|
|
}
|
|
SECTIONS {
|
|
.text : { *(.text*) } > rom
|
|
.rodata : { *(.rodata*) } > rom
|
|
|
|
.bss : {
|
|
_bss_start = .;
|
|
*(.bss SORT(.bss.*) COMMON)
|
|
_bss_end = .;
|
|
} > ram
|
|
|
|
.data : {
|
|
_data_start = .;
|
|
*(.data SORT(.data.*))
|
|
_data_end = .;
|
|
} > ram AT > rom
|
|
_data_flash_start = LOADADDR(.data);
|
|
}
|