Fixed "Error: SVC is not permitted on this architecture" error on newer ARM compilers
[nrf5x-base-fork.git] / make / ld / gcc_nrf51_s110_8.0.0_16_256_bootloader.ld
blobcc77c6b06cedee853372b89419577027cc0dc5e7
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 above Bootloader */
10   RAM (rwx) : ORIGIN = 0x20000000 + 8K, LENGTH = 16K - 8K /* 8 kB is taken by S110, 8 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
26    
29 INCLUDE "gcc_nrf51_common.ld"