summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
authorDavid Connelly <david.connelly@sifive.com>2019-03-05 09:51:46 -0500
committerDavid Connelly <david.connelly@sifive.com>2019-03-05 09:51:46 -0500
commit40516386bd96b3341bccc666012b4a1007338acd (patch)
tree884e9d4a2312e5b0430330e7c359a61852e69207 /software
parent590f34d5399dcd497d6bc1fa4f3722fe1741a5fb (diff)
changed demo name to coreip-welcome to match bsp convention (was coreplexip-welcome)
Diffstat (limited to 'software')
-rw-r--r--software/coreip-welcome/Makefile6
-rw-r--r--software/coreip-welcome/README.md2
-rw-r--r--software/coreip-welcome/coreip-welcome.c (renamed from software/coreplexip-welcome/coreplexip-welcome.c)6
-rw-r--r--software/coreplexip-welcome/Makefile4
-rw-r--r--software/coreplexip-welcome/README.md2
5 files changed, 11 insertions, 9 deletions
diff --git a/software/coreip-welcome/Makefile b/software/coreip-welcome/Makefile
new file mode 100644
index 0000000..3198603
--- /dev/null
+++ b/software/coreip-welcome/Makefile
@@ -0,0 +1,6 @@
+
+coreip-welcome: coreip-welcome.c
+
+clean:
+ rm -f coreip-welcome coreip-welcome.hex
+
diff --git a/software/coreip-welcome/README.md b/software/coreip-welcome/README.md
new file mode 100644
index 0000000..a9a513b
--- /dev/null
+++ b/software/coreip-welcome/README.md
@@ -0,0 +1,2 @@
+# coreip-welcome
+A simple "CoreIP Welcome" example which prints SiFive banner and uses board LEDs.
diff --git a/software/coreplexip-welcome/coreplexip-welcome.c b/software/coreip-welcome/coreip-welcome.c
index de6f92d..7147d83 100644
--- a/software/coreplexip-welcome/coreplexip-welcome.c
+++ b/software/coreip-welcome/coreip-welcome.c
@@ -5,7 +5,7 @@
#include <metal/button.h>
#include <metal/switch.h>
-#define RTC_FREQ 32768
+#define RTC_FREQ 32768
struct metal_cpu *cpu0;
struct metal_interrupt *cpu_intr, *tmr_intr;
@@ -42,7 +42,7 @@ void display_banner (void) {
printf("\n");
printf("\n");
- printf("Welcome to the E31/E51 Coreplex IP FPGA Evaluation Kit!\n");
+ printf("Welcome to the E31/E51 Core IP FPGA Evaluation Kit!\n");
}
@@ -58,7 +58,7 @@ void timer_isr (int id, void *data) {
void wait_for_timer(struct metal_led *which_led) {
// clear global timer isr flag
- timer_isr_flag = 0;
+ timer_isr_flag = 0;
// Turn on desired LED
metal_led_on(which_led);
diff --git a/software/coreplexip-welcome/Makefile b/software/coreplexip-welcome/Makefile
deleted file mode 100644
index f9c9ead..0000000
--- a/software/coreplexip-welcome/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-coreplexip-welcome: coreplexip-welcome.c
-
-clean:
- rm -f coreplexip-welcome coreplexip-welcome.hex
diff --git a/software/coreplexip-welcome/README.md b/software/coreplexip-welcome/README.md
deleted file mode 100644
index 5ea36ef..0000000
--- a/software/coreplexip-welcome/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# coreplexip-welcome
-A simple "CoreplexIP Welcome" example which prints SiFive banner and uses board LEDs.