From c17273a65d0d2928217d587688f3fe2bea2406e8 Mon Sep 17 00:00:00 2001 From: Drew Barbier Date: Thu, 5 Jul 2018 22:32:56 -0500 Subject: support the E20 --- bsp/env/coreip-e2-arty/platform.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bsp/env/coreip-e2-arty/platform.h') 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 -- cgit v1.2.1-18-gbd029