1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
trezor-firmware/memory_app_fastflash.ld

23 lines
457 B
Plaintext
Raw Normal View History

/* STM32F205RE - 512K Flash, 128K RAM */
MEMORY
{
2017-07-04 17:34:25 +00:00
rom (rx) : ORIGIN = 0x20000000, LENGTH = 32K
2017-06-10 19:15:12 +00:00
ram (rwx) : ORIGIN = 0x20000000 + LENGTH(rom),
LENGTH = 128K - LENGTH(rom)
}
SECTIONS
{
.confidential (NOLOAD) : {
*(confidential)
ASSERT ((SIZEOF(.confidential) <= 33K), "Error: Confidential section too big!");
} >ram
}
INCLUDE libopencm3_stm32f2.ld
_ram_start = ORIGIN(ram);
_ram_end = ORIGIN(ram) + LENGTH(ram);
_data_size = SIZEOF(.data);