Skip to content
Snippets Groups Projects
Commit aca498c2 authored by Damien George's avatar Damien George
Browse files

stm32/mpconfigport.h: Add configuration for max periphs on L4 series.

parent d42b89bc
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment