boards: nucleo_l073rz: Set LSI as LPTIM clock source

For some reason, LSE can't be used as LPTIM clock source
on nucleo_l073rz.
As a consequence, low power operations are not functional on
this platform.
Waiting for the original issue to be fixed, set LSI as LPTIM
clock source.

Partially fixes #38930

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-09-28 13:53:20 +02:00 committed by Anas Nashif
parent a5a360d319
commit 21be2c8374

View file

@ -12,4 +12,10 @@ config SPI_STM32_INTERRUPT
default y
depends on SPI
# FIXME: LSE not working as LPTIM clock source. Use LSI instead.
choice STM32_LPTIM_CLOCK
default STM32_LPTIM_CLOCK_LSI
depends on STM32_LPTIM_TIMER
endchoice
endif # BOARD_NUCLEO_L073RZ