boards: arm: st_stm32: add lptimer to the stm32l562e dk board

This patch introduces the support of the LowPower Timer
for the STM32l562ze disco kit (sec. and non-sec. version)
LSE clock is selected as LPTIM clock source on this board.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-03-25 15:52:21 +01:00 committed by Anas Nashif
commit 56bacef12a
5 changed files with 15 additions and 0 deletions

View file

@ -8,6 +8,11 @@ if BOARD_STM32L562E_DK
config BOARD
default "stm32l562e_dk"
choice STM32_LPTIM_CLOCK
default STM32_LPTIM_CLOCK_LSE
depends on STM32_LPTIM_TIMER
endchoice
if BT
config SPI

View file

@ -30,3 +30,7 @@
&usart1 {
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
};
&lptim1 {
status = "okay";
};

View file

@ -9,5 +9,6 @@ supported:
- gpio
- i2c
- lsm6dso
- lptim
ram: 192
flash: 512

View file

@ -26,3 +26,7 @@
sw0 = &user_button;
};
};
&lptim1 {
status = "okay";
};

View file

@ -9,5 +9,6 @@ supported:
- gpio
- i2c
- lsm6dso
- lptim
ram: 192
flash: 512