summaryrefslogtreecommitdiff
path: root/bsp/env/coreip-e2-arty
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/env/coreip-e2-arty')
-rw-r--r--bsp/env/coreip-e2-arty/platform.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/bsp/env/coreip-e2-arty/platform.h b/bsp/env/coreip-e2-arty/platform.h
index ba06160..9ae9864 100644
--- a/bsp/env/coreip-e2-arty/platform.h
+++ b/bsp/env/coreip-e2-arty/platform.h
@@ -79,7 +79,12 @@
#define NUM_GPIO 16
#define CLIC_NUM_INTERRUPTS 28 + 16
-#define CLIC_CONFIG_BITS 4
+
+#ifdef E20
+ #define CLIC_CONFIG_BITS 2
+#else
+ #define CLIC_CONFIG_BITS 4
+#endif
#define HAS_BOARD_BUTTONS