aboutsummaryrefslogtreecommitdiff
path: root/gcc_nrf51_s210_xxab.ld
diff options
context:
space:
mode:
authorsprhawk <hongbo@yang.me>2014-08-29 01:48:19 +0800
committersprhawk <hongbo@yang.me>2014-08-29 01:48:19 +0800
commit214951cc8d485e826ec52a381b8e50f0e75aafa1 (patch)
treee86687a76367eae29bd6fe1328a12eea937d7054 /gcc_nrf51_s210_xxab.ld
downloadnrf51822-posix-build-scripts-214951cc8d485e826ec52a381b8e50f0e75aafa1.tar.gz
nrf51822-posix-build-scripts-214951cc8d485e826ec52a381b8e50f0e75aafa1.tar.bz2
nrf51822-posix-build-scripts-214951cc8d485e826ec52a381b8e50f0e75aafa1.tar.xz
nrf51822-posix-build-scripts-214951cc8d485e826ec52a381b8e50f0e75aafa1.zip
modified from nordic nRF51 SDK
Diffstat (limited to 'gcc_nrf51_s210_xxab.ld')
-rw-r--r--gcc_nrf51_s210_xxab.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc_nrf51_s210_xxab.ld b/gcc_nrf51_s210_xxab.ld
new file mode 100644
index 0000000..1c46cb1
--- /dev/null
+++ b/gcc_nrf51_s210_xxab.ld
@@ -0,0 +1,13 @@
+/* Linker script to configure memory regions. */
+
+SEARCH_DIR(.)
+GROUP(-lgcc -lc -lnosys)
+
+MEMORY
+{
+ FLASH (rx) : ORIGIN = 0x0000C000, LENGTH = 0x14000
+ RAM (rwx) : ORIGIN = 0x20000900, LENGTH = 0x3700
+}
+
+
+INCLUDE "gcc_nrf51_common.ld" \ No newline at end of file