samples: boards stm32 power mgmt nucleo_wb55rg sets a lptim prescaler

configure the nucleo_wb55rg with a prescaler on the LPTIMer input
clock to increase the max sleep duration.
With 32 the input clock is 1024Hz and max reachable timeout is
64 seconds.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-03-28 11:53:38 +02:00 committed by Marti Bolivar
commit 29ef82cfaf

View file

@ -0,0 +1,9 @@
/*
* give a prescaler to the lptim clock : LSE / 32 = 1024Hz
* so that the sleep period is of 64s in the sample application
*
*/
&lptim1 {
st,prescaler = <32>;
};