diff options
-rw-r--r-- | bsp/env/freedom-e300-arty/platform.h | 5 | ||||
-rw-r--r-- | bsp/env/freedom-e300-hifive1/platform.h | 2 |
2 files changed, 6 insertions, 1 deletions
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 <stdint.h> - + + +#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 <stdint.h> +#define NUM_GPIO 32 + #define PLIC_NUM_INTERRUPTS 52 #define PLIC_NUM_PRIORITIES 7 |