summaryrefslogtreecommitdiff
path: root/bsp/env/freedom-e300-hifive1
diff options
context:
space:
mode:
authorMegan Wachs <megan@sifive.com>2016-12-11 19:59:13 -0800
committerMegan Wachs <megan@sifive.com>2016-12-11 19:59:13 -0800
commit0c27b0c745a411ee4829c2c372779709c3509e42 (patch)
tree5b6c3bf90d97c896ddcfe8a1139f491b233f33a3 /bsp/env/freedom-e300-hifive1
parent5d24496831a43ec9c2b94396bf4cc50c9eff58c1 (diff)
platform: add more defines which are generally needed
Diffstat (limited to 'bsp/env/freedom-e300-hifive1')
-rw-r--r--bsp/env/freedom-e300-hifive1/platform.h2
1 files changed, 2 insertions, 0 deletions
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 <stdint.h>
+#define NUM_GPIO 32
+
#define PLIC_NUM_INTERRUPTS 52
#define PLIC_NUM_PRIORITIES 7