80180188b1
This sample demonstrates how gpio pins can be used to power on the system after a Poweroff, just like a reset pin. The user only needs to add the STM32_GPIO_WKUP flag to the gpio pin in "gpios" property of a DT device such a button or a sensor. The samples Powers off the system after a delay then the user can power it on with the user button that has the STM32_GPIO_WKUP flag in DT. Only works on STM32 boards that support Zephyr POWEROFF (U5, WL, WB, & L4 SoC series), & also have a user button whose GPIO pin is associated with a wake-up pin (see PWR node in SoC dtsi file). Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com> |
||
---|---|---|
.. | ||
96b_argonkey | ||
arc_secure_services | ||
bbc_microbit | ||
esp32 | ||
google_kukui | ||
google_twinkie_v2_pda | ||
intel_adsp/code_relocation | ||
litex/i2s | ||
mec15xxevb_assy6853 | ||
mec172xevb_assy6906 | ||
mimxrt595_evk/system_off | ||
mimxrt1060_evk/system_off | ||
mimxrt1170_evk_cm7/magic_addr | ||
nrf | ||
nxp_s32/netc | ||
qomu | ||
reel_board/mesh_badge | ||
rpi_pico/uart_pio | ||
sensortile_box | ||
sensortile_box_pro/sensors-on-board | ||
stm32 | ||
ti/cc13x2_cc26x2/system_off | ||
boards.rst |