aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/nrf52.ld
diff options
context:
space:
mode:
Diffstat (limited to 'targets/nrf52.ld')
-rw-r--r--targets/nrf52.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/targets/nrf52.ld b/targets/nrf52.ld
new file mode 100644
index 000000000..a388cf7e4
--- /dev/null
+++ b/targets/nrf52.ld
@@ -0,0 +1,10 @@
+
+MEMORY
+{
+ FLASH_TEXT (rw) : ORIGIN = 0x00000000, LENGTH = 256K /* .text */
+ RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
+}
+
+_stack_size = 2K;
+
+INCLUDE "targets/arm.ld"