summaryrefslogtreecommitdiffstats
path: root/s130-bootloader.ld
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-08-31 14:31:16 +0100
committerroot <root@lamia.panaceas.james.local>2015-08-31 14:31:16 +0100
commit4eed6a080410c9b34337c63f1160f065e16baba7 (patch)
tree197c4c2c443e9e387bd4b8cffa2ec80904f53add /s130-bootloader.ld
parentdd3e2c57e0bdf8c6befde1c244d6821d449aba8f (diff)
downloadblinky-4eed6a080410c9b34337c63f1160f065e16baba7.tar.gz
blinky-4eed6a080410c9b34337c63f1160f065e16baba7.tar.bz2
blinky-4eed6a080410c9b34337c63f1160f065e16baba7.zip
fish
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"