From 9b831bc77f8a7a0046899075aa0f0016478f5bf2 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Thu, 8 Jun 2017 09:39:14 -0700 Subject: 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. --- bsp/env/coreplexip-e51-arty/flash.lds | 1 + bsp/env/coreplexip-e51-arty/link.lds | 1 - bsp/env/coreplexip-e51-arty/scratchpad.lds | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) create mode 120000 bsp/env/coreplexip-e51-arty/flash.lds delete mode 120000 bsp/env/coreplexip-e51-arty/link.lds create mode 120000 bsp/env/coreplexip-e51-arty/scratchpad.lds (limited to 'bsp/env/coreplexip-e51-arty') 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 -- cgit v1.2.3