QUERY · ISSUE
STM32: machine.freq unsupported on F0, L0, L4 and WB
port-stm32
When I set pyb.freq(30000000) it occurs an error that I can't change the frequency. How should I do?
CANDIDATE · PULL REQUEST
stm32/uart: Add support for LPUART1 on L0, L4, H7 and WB MCUs.
port-stm32
Add LPUART1 as a standard UART. No low power features are supported.
LPUART1 is enabled as the next available UART after the standard U(S)ARTs.
STM32WB: LPUART1 = UART(2)
STM32L0: LPUART1 = UART(6)
STM32L4: LPUART1 = UART(6)
STM32H7: LPUART1 = UART(9)
LPUART1 is enabled by defining MICROPY_HW_LPUART1_TX and MICROPY_HW_LPUART1_RX in mpconfigboard.h