summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-13 17:03:57 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-13 17:03:57 +1000
commitaca498c2b03abf88da81a3037b3dab9a4f53e800 (patch)
tree2c7ee2322527d6004180bebfb4e5020d39d28e75
parentd42b89bc3a9b85488a272235b1cc5fb342ab2536 (diff)
stm32/mpconfigport.h: Add configuration for max periphs on L4 series.
-rw-r--r--ports/stm32/mpconfigport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index abeaa56f6..7888b5355 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -234,6 +234,10 @@ extern const struct _mp_obj_module_t mp_module_onewire;
#define PYB_EXTI_NUM_VECTORS (24)
#define MICROPY_HW_MAX_TIMER (17)
#define MICROPY_HW_MAX_UART (8)
+#elif defined(MCU_SERIES_L4)
+#define PYB_EXTI_NUM_VECTORS (23)
+#define MICROPY_HW_MAX_TIMER (17)
+#define MICROPY_HW_MAX_UART (6)
#else
#define PYB_EXTI_NUM_VECTORS (23)
#define MICROPY_HW_MAX_TIMER (14)