Fixed "Error: SVC is not permitted on this architecture" error on newer ARM compilers
[nrf5x-base-fork.git] / make / ld / gcc_nrf51_s130_2.0.0_32_256_bootloader.ld
blob430106fb0b2a61ad46c57e4dedcd6abef7508427
1 /* Linker script to configure memory regions. */
3 SEARCH_DIR(.)
4 GROUP(-lgcc -lc -lnosys)
6 MEMORY
8   FLASH (rx): ORIGIN = 256K - 16K - 1K - 1K, LENGTH = 16K /* 1K is taken by flash storage of BLE Address, 16K for Bootloader */
9   BOOTLOADER_SETTINGS (rw) : ORIGIN = 256K - 1K - 1K, LENGTH = 1K /* Right below Bootloader */
10   RAM (rwx) : ORIGIN = 0x20000000 + 10K, LENGTH = 32K - 10K /* 10 kB is taken by S110, 24 kB for app. */
11   UICR_BOOTLOADER (r)  : ORIGIN = 0x10001014, LENGTH =  0x04
15 SECTIONS
17     .bootloaderSettings (NOLOAD):
18     {
19     
20     } > BOOTLOADER_SETTINGS
22     .uicrBootStartAddress :
23     {
24         KEEP(*(.uicrBootStartAddress))
25     } > UICR_BOOTLOADER
28 INCLUDE "gcc_nrf51_common.ld"