mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
stm32/boards/NUCLEO_F401RE: Change flash latency for NUCLEO-F401RE.
For NUCLEO-F401RE, FLASH_LATENCY_2 can be specified for flash latency because it runs at 84MHz. Signed-off-by: Yuuki NAGAO <wf.yn386@gmail.com>
This commit is contained in:
committed by
Damien George
parent
be1a1eb7ac
commit
06a90e0b4b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user