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:
parent
d830f2ee3d
commit
56bacef12a
5 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -30,3 +30,7 @@
|
|||
&usart1 {
|
||||
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
|
||||
};
|
||||
|
||||
&lptim1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -9,5 +9,6 @@ supported:
|
|||
- gpio
|
||||
- i2c
|
||||
- lsm6dso
|
||||
- lptim
|
||||
ram: 192
|
||||
flash: 512
|
||||
|
|
|
@ -26,3 +26,7 @@
|
|||
sw0 = &user_button;
|
||||
};
|
||||
};
|
||||
|
||||
&lptim1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -9,5 +9,6 @@ supported:
|
|||
- gpio
|
||||
- i2c
|
||||
- lsm6dso
|
||||
- lptim
|
||||
ram: 192
|
||||
flash: 512
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue