mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L4R5xI
Laurent Meunier 3fd071404e FIX: LPUART clock source selection should be left to serial driver
The clock source selection of LPUART depends on System clocks but also on
the serial baudrate. There is a specific computation done in serial driver
targets/target_STM/serial_api.c

At first start-up the LPUART1 clock selected in SetSysClock was anyway
overridden by the serial driver, so this was of no effect. But in case
of deep sleep SetSysClock is called again, while the driver isn't, so
SetSyClock was corrupting the serial clock configuration.

So let's remove these few lines of code which are causing trouble.
2020-02-11 17:14:45 +01:00
..
TARGET_NUCLEO_L4R5ZI FIX: LPUART clock source selection should be left to serial driver 2020-02-11 17:14:45 +01:00
device Clean up ARM toolchain heap+stack setup in targets 2019-10-23 14:53:49 +03:00