2014-04-29 12:26:51 +00:00
|
|
|
/* STM32F205RE - 512K Flash, 128K RAM */
|
|
|
|
/* program starts at 0x08010000 */
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
rom (rx) : ORIGIN = 0x08010000, LENGTH = 512K - 64K
|
|
|
|
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);
|