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/freedom-e300-arty/flash.lds | 1 + bsp/env/freedom-e300-arty/link.lds | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 120000 bsp/env/freedom-e300-arty/flash.lds delete mode 120000 bsp/env/freedom-e300-arty/link.lds (limited to 'bsp/env/freedom-e300-arty') diff --git a/bsp/env/freedom-e300-arty/flash.lds b/bsp/env/freedom-e300-arty/flash.lds new file mode 120000 index 0000000..6441ce5 --- /dev/null +++ b/bsp/env/freedom-e300-arty/flash.lds @@ -0,0 +1 @@ +../freedom-e300-hifive1/flash.lds \ No newline at end of file diff --git a/bsp/env/freedom-e300-arty/link.lds b/bsp/env/freedom-e300-arty/link.lds deleted file mode 120000 index 2c48449..0000000 --- a/bsp/env/freedom-e300-arty/link.lds +++ /dev/null @@ -1 +0,0 @@ -../freedom-e300-hifive1/link.lds \ No newline at end of file -- cgit v1.2.1-18-gbd029