From 03a64f20771cd0582af61de31811294456fa695e Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 21 Feb 2021 15:24:38 +1100 Subject: [PATCH] stm32/boards/NUCLEO_WB55: Enable LPUART1 on PA2/PA3. Signed-off-by: Damien George --- ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h b/ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h index 2061349417..179369d943 100644 --- a/ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h +++ b/ports/stm32/boards/NUCLEO_WB55/mpconfigboard.h @@ -22,6 +22,8 @@ // UART buses #define MICROPY_HW_UART1_TX (pin_B6) #define MICROPY_HW_UART1_RX (pin_B7) +#define MICROPY_HW_LPUART1_TX (pin_A2) +#define MICROPY_HW_LPUART1_RX (pin_A3) // USART 1 is connected to the virtual com port on the ST-LINK #define MICROPY_HW_UART_REPL PYB_UART_1 #define MICROPY_HW_UART_REPL_BAUD 115200