Skip to content

Commit

Permalink
stm32/mpconfigport.h: Add configuration for max periphs on L4 series.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Sep 13, 2017
1 parent d42b89b commit aca498c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/stm32/mpconfigport.h
Expand Up @@ -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)
Expand Down

0 comments on commit aca498c

Please sign in to comment.