summaryrefslogtreecommitdiff
path: root/bsp/env/coreplexip-e51-arty
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-06-08 09:39:14 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-06-14 08:53:39 -0700
commit9b831bc77f8a7a0046899075aa0f0016478f5bf2 (patch)
tree9ecd6943e41ac54c233a86b4fb1551f31b3ad3e9 /bsp/env/coreplexip-e51-arty
parent809711e87af06ca5c151a2fac568382330f2feb6 (diff)
Add linker scripts that target the scratchpad
Everything still defaults to the flash, but users can optionally select the scratchpad. Note that you have to be pretty careful about your scratchpad programs, most of them won't fit. For example, printf is too big to fit in the scratchpad.
Diffstat (limited to 'bsp/env/coreplexip-e51-arty')
l---------bsp/env/coreplexip-e51-arty/flash.lds1
l---------bsp/env/coreplexip-e51-arty/link.lds1
l---------bsp/env/coreplexip-e51-arty/scratchpad.lds1
3 files changed, 2 insertions, 1 deletions
diff --git a/bsp/env/coreplexip-e51-arty/flash.lds b/bsp/env/coreplexip-e51-arty/flash.lds
new file mode 120000
index 0000000..54c1026
--- /dev/null
+++ b/bsp/env/coreplexip-e51-arty/flash.lds
@@ -0,0 +1 @@
+../coreplexip-e31-arty/flash.lds \ No newline at end of file
diff --git a/bsp/env/coreplexip-e51-arty/link.lds b/bsp/env/coreplexip-e51-arty/link.lds
deleted file mode 120000
index f3e0254..0000000
--- a/bsp/env/coreplexip-e51-arty/link.lds
+++ /dev/null
@@ -1 +0,0 @@
-../coreplexip-e31-arty/link.lds \ No newline at end of file
diff --git a/bsp/env/coreplexip-e51-arty/scratchpad.lds b/bsp/env/coreplexip-e51-arty/scratchpad.lds
new file mode 120000
index 0000000..7fbe10a
--- /dev/null
+++ b/bsp/env/coreplexip-e51-arty/scratchpad.lds
@@ -0,0 +1 @@
+../coreplexip-e31-arty/scratchpad.lds \ No newline at end of file