From 66ba2aac4875e9131a630c29cea989551ac4cabd Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Fri, 29 Jun 2018 16:14:00 -0700 Subject: Add a CLIC interrupt example This example is fairly simple, but it does at least demonstrate how to use a C-based preemptable interrupt handler that's been registered in CLIC mode on a SiFive E21. --- bsp/env/coreplexip-e21-arty/dhrystone.lds | 1 + bsp/env/coreplexip-e21-arty/flash.lds | 1 + bsp/env/coreplexip-e21-arty/init.c | 1 + bsp/env/coreplexip-e21-arty/openocd.cfg | 1 + bsp/env/coreplexip-e21-arty/platform.h | 1 + bsp/env/coreplexip-e21-arty/scratchpad.lds | 1 + bsp/env/coreplexip-e21-arty/settings.mk | 1 + 7 files changed, 7 insertions(+) create mode 120000 bsp/env/coreplexip-e21-arty/dhrystone.lds create mode 120000 bsp/env/coreplexip-e21-arty/flash.lds create mode 120000 bsp/env/coreplexip-e21-arty/init.c create mode 120000 bsp/env/coreplexip-e21-arty/openocd.cfg create mode 120000 bsp/env/coreplexip-e21-arty/platform.h create mode 120000 bsp/env/coreplexip-e21-arty/scratchpad.lds create mode 120000 bsp/env/coreplexip-e21-arty/settings.mk (limited to 'bsp/env/coreplexip-e21-arty') diff --git a/bsp/env/coreplexip-e21-arty/dhrystone.lds b/bsp/env/coreplexip-e21-arty/dhrystone.lds new file mode 120000 index 0000000..8459e13 --- /dev/null +++ b/bsp/env/coreplexip-e21-arty/dhrystone.lds @@ -0,0 +1 @@ +../coreplexip-e31-arty/dhrystone.lds \ No newline at end of file diff --git a/bsp/env/coreplexip-e21-arty/flash.lds b/bsp/env/coreplexip-e21-arty/flash.lds new file mode 120000 index 0000000..54c1026 --- /dev/null +++ b/bsp/env/coreplexip-e21-arty/flash.lds @@ -0,0 +1 @@ +../coreplexip-e31-arty/flash.lds \ No newline at end of file diff --git a/bsp/env/coreplexip-e21-arty/init.c b/bsp/env/coreplexip-e21-arty/init.c new file mode 120000 index 0000000..de048a9 --- /dev/null +++ b/bsp/env/coreplexip-e21-arty/init.c @@ -0,0 +1 @@ +../coreplexip-e31-arty/init.c \ No newline at end of file diff --git a/bsp/env/coreplexip-e21-arty/openocd.cfg b/bsp/env/coreplexip-e21-arty/openocd.cfg new file mode 120000 index 0000000..2f4de8d --- /dev/null +++ b/bsp/env/coreplexip-e21-arty/openocd.cfg @@ -0,0 +1 @@ +../coreplexip-e31-arty/openocd.cfg \ No newline at end of file diff --git a/bsp/env/coreplexip-e21-arty/platform.h b/bsp/env/coreplexip-e21-arty/platform.h new file mode 120000 index 0000000..311ca36 --- /dev/null +++ b/bsp/env/coreplexip-e21-arty/platform.h @@ -0,0 +1 @@ +../coreplexip-e31-arty/platform.h \ No newline at end of file diff --git a/bsp/env/coreplexip-e21-arty/scratchpad.lds b/bsp/env/coreplexip-e21-arty/scratchpad.lds new file mode 120000 index 0000000..7fbe10a --- /dev/null +++ b/bsp/env/coreplexip-e21-arty/scratchpad.lds @@ -0,0 +1 @@ +../coreplexip-e31-arty/scratchpad.lds \ No newline at end of file diff --git a/bsp/env/coreplexip-e21-arty/settings.mk b/bsp/env/coreplexip-e21-arty/settings.mk new file mode 120000 index 0000000..2b2a962 --- /dev/null +++ b/bsp/env/coreplexip-e21-arty/settings.mk @@ -0,0 +1 @@ +../coreplexip-e31-arty/settings.mk \ No newline at end of file -- cgit v1.2.3