diff options
author | David Connelly <david.connelly@sifive.com> | 2019-03-05 09:51:46 -0500 |
---|---|---|
committer | David Connelly <david.connelly@sifive.com> | 2019-03-05 09:51:46 -0500 |
commit | 40516386bd96b3341bccc666012b4a1007338acd (patch) | |
tree | 884e9d4a2312e5b0430330e7c359a61852e69207 | |
parent | 590f34d5399dcd497d6bc1fa4f3722fe1741a5fb (diff) |
changed demo name to coreip-welcome to match bsp convention (was coreplexip-welcome)
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | software/coreip-welcome/Makefile | 6 | ||||
-rw-r--r-- | software/coreip-welcome/README.md | 2 | ||||
-rw-r--r-- | software/coreip-welcome/coreip-welcome.c (renamed from software/coreplexip-welcome/coreplexip-welcome.c) | 6 | ||||
-rw-r--r-- | software/coreplexip-welcome/Makefile | 4 | ||||
-rw-r--r-- | software/coreplexip-welcome/README.md | 2 |
6 files changed, 12 insertions, 10 deletions
@@ -79,7 +79,7 @@ of Freedom E SDK. - Demonstrates how to register a handler for and trigger a local interrupt - example-pmp - Demonstrates how to configure a Physical Memory Protection (PMP) region - - coreplexip-welcome + - coreip-welcome - Prints the SiFive banner and blinks LEDs #### (Deprecated) Legacy Freedom E SDK Library #### 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. |