aboutsummaryrefslogtreecommitdiff
path: root/gcc_nrf51_s110-sd6_xxaa.ld
diff options
context:
space:
mode:
authorErdem U. Altinyurt <spamjunkeater@gmail.com>2014-09-03 01:10:13 +0300
committerErdem U. Altinyurt <spamjunkeater@gmail.com>2014-09-03 01:10:13 +0300
commite9fd356a2efe8c3a1b70a16ced4ec8739381893b (patch)
tree7d136231ddbd08d5b3e2be8063a23316f24dd2fe /gcc_nrf51_s110-sd6_xxaa.ld
parentefc7a3371b7f5ae221895721df182933312aad2b (diff)
downloadnrf51822-posix-build-scripts-e9fd356a2efe8c3a1b70a16ced4ec8739381893b.tar.gz
nrf51822-posix-build-scripts-e9fd356a2efe8c3a1b70a16ced4ec8739381893b.tar.bz2
nrf51822-posix-build-scripts-e9fd356a2efe8c3a1b70a16ced4ec8739381893b.tar.xz
nrf51822-posix-build-scripts-e9fd356a2efe8c3a1b70a16ced4ec8739381893b.zip
Added SoftDevice 6 support + OpenOCD flash + some fixes
Diffstat (limited to 'gcc_nrf51_s110-sd6_xxaa.ld')
-rw-r--r--gcc_nrf51_s110-sd6_xxaa.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc_nrf51_s110-sd6_xxaa.ld b/gcc_nrf51_s110-sd6_xxaa.ld
new file mode 100644
index 0000000..ac2bf9e
--- /dev/null
+++ b/gcc_nrf51_s110-sd6_xxaa.ld
@@ -0,0 +1,10 @@
+/* Linker script to configure memory regions. */
+SEARCH_DIR(.)
+GROUP(-lgcc -lc -lnosys)
+
+MEMORY
+{
+ FLASH (rx) : ORIGIN = 0x14000, LENGTH = 0x2C000 /* 80 kB is taken by S110, 176 kB available for application. */
+ RAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x2000 /* 8 kB, 8 kB is taken by S110. */
+}
+INCLUDE "gcc_nrf51_common.ld"