mongoose/examples/stm32-freertos-tcp/stm32f7/link.ld
2021-05-13 22:03:46 +01:00

26 lines
505 B
Plaintext

ENTRY(_reset);
MEMORY {
ram(rwx) : ORIGIN = 0x20000000, LENGTH = 320k
rom(rx) : ORIGIN = 0x08000000, LENGTH = 1024k
}
_estack = 0x20000000 + 320k;
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);
}
__end__ = _data_end;
end = _data_end;