diff options
author | Drew Barbier <dbarbi1@gmail.com> | 2018-07-05 22:32:56 -0500 |
---|---|---|
committer | Drew Barbier <dbarbi1@gmail.com> | 2018-07-05 22:32:56 -0500 |
commit | c17273a65d0d2928217d587688f3fe2bea2406e8 (patch) | |
tree | 309bfb050cc141116768b0fe4d0a2fae72c94388 /bsp/env/coreip-e2-arty | |
parent | b5f83a89d41dc2bd0307694ffca4cb4136f32f86 (diff) |
support the E20
Diffstat (limited to 'bsp/env/coreip-e2-arty')
-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 |