summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/mpconfigport.h
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2015-08-03 15:07:20 -0700
committerDamien George <damien.p.george@gmail.com>2015-08-07 08:52:42 +0100
commit8f59bacb92cb705d79f08f29f4d64c0a774ab78f (patch)
treed58104222746d8f1a61ebb7297a9501cbf0dcdfd /stmhal/mpconfigport.h
parentbe66a9ecf60eac18e08eda7bddf4b3481459c9f2 (diff)
downloadmicropython-8f59bacb92cb705d79f08f29f4d64c0a774ab78f.tar.gz
micropython-8f59bacb92cb705d79f08f29f4d64c0a774ab78f.zip
stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r--stmhal/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index f79668924f..eec492a15b 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -135,7 +135,7 @@ 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)
+#if defined(MCU_SERIES_F7)
#define PYB_EXTI_NUM_VECTORS (24)
#else
#define PYB_EXTI_NUM_VECTORS (23)