summaryrefslogtreecommitdiffstats
path: root/crypto/s110-bootloader.ld
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/s110-bootloader.ld')
-rw-r--r--crypto/s110-bootloader.ld12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/s110-bootloader.ld b/crypto/s110-bootloader.ld
new file mode 100644
index 0000000..9b57bcf
--- /dev/null
+++ b/crypto/s110-bootloader.ld
@@ -0,0 +1,12 @@
+/* Linker script to configure memory regions. */
+
+SEARCH_DIR(.)
+GROUP(-lgcc -lc -lnosys)
+
+MEMORY
+{
+ FLASH (rx) : ORIGIN = 0x18000, LENGTH = 0x24000
+ RAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x2000
+}
+
+INCLUDE "sdk/toolchain/gcc/gcc_nrf51_common.ld"