summaryrefslogtreecommitdiff
path: root/bsp/coreip-s51-arty
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-s51-arty
parent484885df5014232d16053495d2b62a78b5a5e87b (diff)
Update BSP files after unit test e24 clic interrupts
Diffstat (limited to 'bsp/coreip-s51-arty')
-rw-r--r--bsp/coreip-s51-arty/mee.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/bsp/coreip-s51-arty/mee.h b/bsp/coreip-s51-arty/mee.h
index d8a3ebb..2986388 100644
--- a/bsp/coreip-s51-arty/mee.h
+++ b/bsp/coreip-s51-arty/mee.h
@@ -3,6 +3,10 @@
#ifndef COREIP_S51_ARTY__MEE_H
#define COREIP_S51_ARTY__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
@@ -19,7 +23,7 @@
#define MEE_MAX_GPIO_INTERRUPTS __MEE_GPIO_20002000_INTERRUPTS
#define __MEE_SERIAL_20000000_INTERRUPTS 1
-#define MEE_MAX_UART_INTERRUPTS __MEE_SERIAL_20000000_INTERRUPTS
+#define MEE_MAX_UART_INTERRUPTS 1
#include <mee/drivers/riscv,cpu.h>
#include <mee/drivers/riscv,clint0.h>
@@ -464,6 +468,8 @@ struct __mee_driver_sifive_gpio_switch *__mee_switch_table[] = {
&__mee_dt_switch_2,
&__mee_dt_switch_3};
+#endif
+
#endif /*MEE__MACHINE__COREIP_S51_ARTY__MEE_H*/
#endif/*ASSEMBLY*/