summaryrefslogtreecommitdiff
path: root/bsp/coreip-e31
diff options
context:
space:
mode:
authorBunnaroath Sou <bsou@sifive.com>2019-01-31 14:34:23 -0800
committerBunnaroath Sou <bsou@sifive.com>2019-01-31 14:37:43 -0800
commite5440a966ef8e7569550c8fe4b9ff3ae08459898 (patch)
treec85d6e5daf4b8f29f4417e5ce755ccfde0235fdf /bsp/coreip-e31
parent484885df5014232d16053495d2b62a78b5a5e87b (diff)
Update BSP files after unit test e24 clic interrupts
Diffstat (limited to 'bsp/coreip-e31')
-rw-r--r--bsp/coreip-e31/mee.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsp/coreip-e31/mee.h b/bsp/coreip-e31/mee.h
index 068af63..0153af4 100644
--- a/bsp/coreip-e31/mee.h
+++ b/bsp/coreip-e31/mee.h
@@ -3,6 +3,10 @@
#ifndef COREIP_E31__MEE_H
#define COREIP_E31__MEE_H
+#ifdef __MEE_MACHINE_MACROS
+#endif
+
+#ifndef __MEE_MACHINE_MACROS
#define __MEE_CLINT_2000000_INTERRUPTS 2
#define MEE_MAX_CLINT_INTERRUPTS __MEE_CLINT_2000000_INTERRUPTS
@@ -331,6 +335,8 @@ struct __mee_driver_sifive_gpio_button *__mee_button_table[] = {
asm (".weak __mee_switch_table");
struct __mee_driver_sifive_gpio_switch *__mee_switch_table[] = {
NULL };
+#endif
+
#endif /*MEE__MACHINE__COREIP_E31__MEE_H*/
#endif/*ASSEMBLY*/