2018-06-27 16:17:44 +00:00
|
|
|
/* STM32F205RG - 1024K Flash, 128K RAM */
|
|
|
|
|
2017-06-10 18:40:38 +00:00
|
|
|
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),
|
2017-06-10 18:40:38 +00:00
|
|
|
LENGTH = 128K - LENGTH(rom)
|
|
|
|
}
|
|
|
|
|
2017-08-08 10:59:39 +00:00
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.confidential (NOLOAD) : {
|
|
|
|
*(confidential)
|
2017-09-04 15:09:34 +00:00
|
|
|
ASSERT ((SIZEOF(.confidential) <= 33K), "Error: Confidential section too big!");
|
2017-08-08 10:59:39 +00:00
|
|
|
} >ram
|
|
|
|
}
|
|
|
|
|
2017-06-10 18:40:38 +00:00
|
|
|
INCLUDE libopencm3_stm32f2.ld
|
2017-08-08 10:59:39 +00:00
|
|
|
|
|
|
|
_ram_start = ORIGIN(ram);
|
|
|
|
_ram_end = ORIGIN(ram) + LENGTH(ram);
|
|
|
|
|
|
|
|
_data_size = SIZEOF(.data);
|