aboutsummaryrefslogtreecommitdiff
path: root/gcc_nrf51_s120_xxab.ld
diff options
context:
space:
mode:
Diffstat (limited to 'gcc_nrf51_s120_xxab.ld')
-rw-r--r--gcc_nrf51_s120_xxab.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc_nrf51_s120_xxab.ld b/gcc_nrf51_s120_xxab.ld
new file mode 100644
index 0000000..a03afba
--- /dev/null
+++ b/gcc_nrf51_s120_xxab.ld
@@ -0,0 +1,13 @@
+/* Linker script to configure memory regions. */
+
+SEARCH_DIR(.)
+GROUP(-lgcc -lc -lnosys)
+
+MEMORY
+{
+ FLASH (rx) : ORIGIN = 0x00018000, LENGTH = 0x8000
+ RAM (rwx) : ORIGIN = 0x20002800, LENGTH = 0x1800
+}
+
+
+INCLUDE "gcc_nrf51_common.ld"