mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
22 lines
492 B
Plaintext
22 lines
492 B
Plaintext
/* STM32F205RE - 512K Flash, 128K RAM */
|
|
/* program starts at 0x08010000 */
|
|
MEMORY
|
|
{
|
|
rom (rx) : ORIGIN = 0x08010000, LENGTH = 512K - 64K
|
|
bootloader (rx) : ORIGIN = 0x20000000, LENGTH = 32K
|
|
ram (rwx) : ORIGIN = 0x20000000 + LENGTH(bootloader),
|
|
LENGTH = 128K - LENGTH(bootloader)
|
|
}
|
|
|
|
INCLUDE libopencm3_stm32f2.ld
|
|
|
|
SECTIONS
|
|
{
|
|
.bootloader : {
|
|
__bootloader_runaddr__ = .;
|
|
KEEP (*(.bootloader*))
|
|
} >bootloader AT >rom
|
|
|
|
__bootloader_loadaddr__ = LOADADDR(.bootloader);
|
|
}
|