summaryrefslogtreecommitdiff
path: root/bsp/coreip-e31
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-03-07 21:32:31 +0000
committerGitHub <noreply@github.com>2019-03-07 21:32:31 +0000
commit84781219c87c0b9148e318f3e358ef7de03e251c (patch)
tree5adffe477189c81f1759446ad9efc7ea46f68702 /bsp/coreip-e31
parent90ab2c8561eb532b382206c8bf3ec1af74f18257 (diff)
parent92d0f3e15ddfeb3d3a640d9bdd3471553e14ed7e (diff)
Merge pull request #196 from sifive/update-metal
Update Metal with GPIO and Cache APIs
Diffstat (limited to 'bsp/coreip-e31')
-rw-r--r--bsp/coreip-e31/metal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsp/coreip-e31/metal.h b/bsp/coreip-e31/metal.h
index d2c696b..d6b0a52 100644
--- a/bsp/coreip-e31/metal.h
+++ b/bsp/coreip-e31/metal.h
@@ -335,6 +335,11 @@ struct __metal_driver_cpu *__metal_cpu_table[] = {
#define __METAL_DT_GLOBAL_EXTERNAL_INTERRUPTS_HANDLE (&__metal_dt_global_external_interrupts.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");