blob: 365693b3a304cc8e7f2dc1323e47c3b6681c0516 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
Linker script fragment for mboot on an STM32xxx MCU.
This defines the memory sections for the bootloader to use.
*/
MEMORY
{
FLASH_BL (rx) : ORIGIN = 0x08000000, LENGTH = 32K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 120K
}
/* Location of protected flash area which must not be modified, because mboot lives there. */
_mboot_protected_flash_start = ORIGIN(FLASH_BL);
_mboot_protected_flash_end_exclusive = ORIGIN(FLASH_BL) + LENGTH(FLASH_BL);
|