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