zephyr/samples/boards/stm32/power_mgmt/standby_shutdown/sample.yaml

23 lines
689 B
YAML

sample:
name: STM32 GPIO Power Management
tests:
sample.boards.stm32.power_mgmt.standby_shutdown:
platform_allow:
- nucleo_l476rg
- disco_l475_iot1
tags:
- LED
- power
harness: console
harness_config:
type: multi_line
regex:
- "Reset cause: Reset pin"
- "Device ready: .*"
- "Press and hold the user button:"
- "when LED2 is OFF to enter to Shutdown Mode"
- "when LED2 is ON to enter to Standby Mode"
filter: dt_compat_enabled("zephyr,power-state") and dt_enabled_alias_with_parent_compat("led0",
"gpio-leds") and dt_compat_enabled("st,stm32-lptim")
extra_args: "CONFIG_DEBUG=y"