From 0c27b0c745a411ee4829c2c372779709c3509e42 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Sun, 11 Dec 2016 19:59:13 -0800 Subject: platform: add more defines which are generally needed --- bsp/env/freedom-e300-arty/platform.h | 5 ++++- bsp/env/freedom-e300-hifive1/platform.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'bsp') diff --git a/bsp/env/freedom-e300-arty/platform.h b/bsp/env/freedom-e300-arty/platform.h index c408ac4..1f62956 100644 --- a/bsp/env/freedom-e300-arty/platform.h +++ b/bsp/env/freedom-e300-arty/platform.h @@ -109,7 +109,10 @@ // Misc #include - + + +#define NUM_GPIO 32 + #define PLIC_NUM_INTERRUPTS 52 #define PLIC_NUM_PRIORITIES 7 diff --git a/bsp/env/freedom-e300-hifive1/platform.h b/bsp/env/freedom-e300-hifive1/platform.h index f0c763a..eca708e 100644 --- a/bsp/env/freedom-e300-hifive1/platform.h +++ b/bsp/env/freedom-e300-hifive1/platform.h @@ -119,6 +119,8 @@ #include +#define NUM_GPIO 32 + #define PLIC_NUM_INTERRUPTS 52 #define PLIC_NUM_PRIORITIES 7 -- cgit v1.2.3 From 860d38c9dcf0553241da4090e5502650e0399f1c Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Sun, 11 Dec 2016 20:23:24 -0800 Subject: Add some missing LICENSE headers. --- bsp/env/freedom-e300-arty/init.c | 1 + bsp/env/freedom-e300-hifive1/entry.S | 1 + 2 files changed, 2 insertions(+) (limited to 'bsp') diff --git a/bsp/env/freedom-e300-arty/init.c b/bsp/env/freedom-e300-arty/init.c index 37e9725..1f26b19 100644 --- a/bsp/env/freedom-e300-arty/init.c +++ b/bsp/env/freedom-e300-arty/init.c @@ -1,3 +1,4 @@ +//See LICENSE for license details. #include #include diff --git a/bsp/env/freedom-e300-hifive1/entry.S b/bsp/env/freedom-e300-hifive1/entry.S index 524f8ee..3eb2638 100644 --- a/bsp/env/freedom-e300-hifive1/entry.S +++ b/bsp/env/freedom-e300-hifive1/entry.S @@ -1,3 +1,4 @@ +// See LICENSE for License Details #ifndef ENTRY_S #define ENTRY_S -- cgit v1.2.3