diff options
author | roland <roland@van-straten.org> | 2018-11-29 00:00:48 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-12-01 17:30:48 +1100 |
commit | 10bddc5c288c49351d832ef4b37b231c0a1458bc (patch) | |
tree | c6726ace50071347dbb017d35c13fc1bc954d097 | |
parent | 4737ff8054e84b3ccd1e7364d773a8c1d14095f5 (diff) |
stm32/boards/STM32F429DISC: Enable UART as secondary REPL.
The board(s) feature a VCOM through the ST-LINK, this feature is something
to keep around.
-rw-r--r-- | ports/stm32/boards/STM32F429DISC/mpconfigboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/stm32/boards/STM32F429DISC/mpconfigboard.h b/ports/stm32/boards/STM32F429DISC/mpconfigboard.h index 3d04f65ea..1422e8d52 100644 --- a/ports/stm32/boards/STM32F429DISC/mpconfigboard.h +++ b/ports/stm32/boards/STM32F429DISC/mpconfigboard.h @@ -13,6 +13,9 @@ #define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV2) #define MICROPY_HW_CLK_PLLQ (7) +#define MICROPY_HW_UART_REPL PYB_UART_1 +#define MICROPY_HW_UART_REPL_BAUD 115200 + // UART config #define MICROPY_HW_UART1_TX (pin_A9) #define MICROPY_HW_UART1_RX (pin_A10) |