summaryrefslogtreecommitdiff
path: root/bsp/coreip-e20
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-03-06 15:05:37 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-03-07 11:09:11 -0800
commit92d0f3e15ddfeb3d3a640d9bdd3471553e14ed7e (patch)
tree5adffe477189c81f1759446ad9efc7ea46f68702 /bsp/coreip-e20
parent33dd66135c6bb3e914d402ef2efe3d63d8866aee (diff)
Update BSPs
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'bsp/coreip-e20')
-rw-r--r--bsp/coreip-e20/metal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsp/coreip-e20/metal.h b/bsp/coreip-e20/metal.h
index 5693e03..f2441c6 100644
--- a/bsp/coreip-e20/metal.h
+++ b/bsp/coreip-e20/metal.h
@@ -173,6 +173,11 @@ struct __metal_driver_cpu *__metal_cpu_table[] = {
#define __METAL_DT_LOCAL_EXTERNAL_INTERRUPTS_0_HANDLE (&__metal_dt_local_external_interrupts_0.irc)
+#define __MEE_DT_MAX_GPIOS 0
+
+asm (".weak __metal_gpio_table");
+struct __metal_driver_sifive_gpio0 *__metal_gpio_table[] = {
+ NULL };
#define __METAL_DT_MAX_BUTTONS 0
asm (".weak __metal_button_table");