mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
24 lines
459 B
Plaintext
24 lines
459 B
Plaintext
/* STM32F205RG - 1024K Flash, 128K RAM */
|
|
|
|
MEMORY
|
|
{
|
|
rom (rx) : ORIGIN = 0x20000000, LENGTH = 32K
|
|
ram (rwx) : ORIGIN = 0x20000000 + LENGTH(rom),
|
|
LENGTH = 128K - LENGTH(rom)
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.confidential (NOLOAD) : {
|
|
*(confidential)
|
|
ASSERT ((SIZEOF(.confidential) <= 32K), "Error: Confidential section too big!");
|
|
} >ram
|
|
}
|
|
|
|
INCLUDE libopencm3_stm32f2.ld
|
|
|
|
_ram_start = ORIGIN(ram);
|
|
_ram_end = ORIGIN(ram) + LENGTH(ram);
|
|
|
|
_data_size = SIZEOF(.data);
|