2018-06-27 16:17:44 +00:00
|
|
|
/* STM32F205RG - 1024K Flash, 128K RAM */
|
2014-04-29 12:26:51 +00:00
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
2018-06-27 16:17:44 +00:00
|
|
|
rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
|
2014-04-29 12:26:51 +00:00
|
|
|
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2014-04-29 12:26:51 +00:00
|
|
|
INCLUDE libopencm3_stm32f2.ld
|
2017-08-08 10:59:39 +00:00
|
|
|
|
|
|
|
_ram_start = ORIGIN(ram);
|
|
|
|
_ram_end = ORIGIN(ram) + LENGTH(ram);
|
2018-03-26 21:35:40 +00:00
|
|
|
_stack = _ram_end - 8;
|
|
|
|
__stack_chk_guard = _ram_end - 8;
|
|
|
|
system_millis = _ram_end - 4;
|
2017-08-08 10:59:39 +00:00
|
|
|
|
|
|
|
_data_size = SIZEOF(.data);
|