summaryrefslogtreecommitdiff
path: root/ld_scripts
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-09-16 11:09:30 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-09-16 11:09:30 +0200
commitcad5bd6501868f9532d5b4a227ca156f9c9d1d8e (patch)
tree7dce7fe31ed3f85ade53d38fe68b76e540403e5e /ld_scripts
parent3c526f3d0b30e200462290651f7c6a5eb30710a2 (diff)
Added NRF52 support.nrf52
Diffstat (limited to 'ld_scripts')
-rw-r--r--ld_scripts/nrf52840.ld6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld_scripts/nrf52840.ld b/ld_scripts/nrf52840.ld
new file mode 100644
index 0000000..7542734
--- /dev/null
+++ b/ld_scripts/nrf52840.ld
@@ -0,0 +1,6 @@
+MEMORY {
+ flash (rx) : org = 0x00000000, len = 1024k
+ ram (rwx) : org = 0x20000000, len = 256k
+}
+
+INCLUDE "arm_flash_ram.ld"