mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-09 17:10:17 +00:00
98e617d874
+ group confidential data in one place + zero all SRAM where needed
23 lines
464 B
Plaintext
23 lines
464 B
Plaintext
/* STM32F205RE - 512K Flash, 128K RAM */
|
|
/* program starts at 0x08010000 */
|
|
MEMORY
|
|
{
|
|
rom (rx) : ORIGIN = 0x08010000, LENGTH = 512K - 64K
|
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
|
|
}
|
|
|
|
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);
|