diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-07-28 11:13:33 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-07-30 00:38:32 +0100 |
commit | 92d4b51ad5d828930334f87d9619a78b5877a384 (patch) | |
tree | b055ba812bfce720130c6c52272bde38e80a00c9 /stmhal/mpconfigport.h | |
parent | 7e7fb0b7a3d716062281c2366de97a41a1ea87c1 (diff) |
stmhal: Add STM32F7DISC and associated changes.
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r-- | stmhal/mpconfigport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index 0ed8c2189..f79668924 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -135,7 +135,11 @@ extern const struct _mp_obj_module_t mp_module_network; { MP_OBJ_NEW_QSTR(MP_QSTR_pyb), (mp_obj_t)&pyb_module }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_stm), (mp_obj_t)&stm_module }, \ +#if defined(STM32F7) +#define PYB_EXTI_NUM_VECTORS (24) +#else #define PYB_EXTI_NUM_VECTORS (23) +#endif #define MP_STATE_PORT MP_STATE_VM |