diff options
Diffstat (limited to 'bsp/env')
-rw-r--r-- | bsp/env/coreip-e2-arty/platform.h | 7 |
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 |