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