diff options
| -rw-r--r-- | ports/stm32/boards/NUCLEO_F401RE/mpconfigboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/stm32/boards/NUCLEO_F401RE/mpconfigboard.h b/ports/stm32/boards/NUCLEO_F401RE/mpconfigboard.h index 8dda34f4a..6150765e1 100644 --- a/ports/stm32/boards/NUCLEO_F401RE/mpconfigboard.h +++ b/ports/stm32/boards/NUCLEO_F401RE/mpconfigboard.h @@ -21,6 +21,9 @@ #define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV4) #define MICROPY_HW_CLK_PLLQ (7) +// 84 MHz needs 2 wait states +#define MICROPY_HW_FLASH_LATENCY (FLASH_LATENCY_2) + // UART config #define MICROPY_HW_UART2_TX (pin_A2) #define MICROPY_HW_UART2_RX (pin_A3) |
