diff --git a/samples/boards/st/power_mgmt/wkup_pins/boards/nucleo_c092rc.overlay b/samples/boards/st/power_mgmt/wkup_pins/boards/nucleo_c092rc.overlay new file mode 100644 index 00000000000..8f0f2c9a056 --- /dev/null +++ b/samples/boards/st/power_mgmt/wkup_pins/boards/nucleo_c092rc.overlay @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2024 STMicroelectronics + * Copyright (c) 2025 Thomas Stranger + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + aliases { + wkup-src = &user_button; + }; +}; + +&pwr { + status = "okay"; +}; diff --git a/samples/boards/st/power_mgmt/wkup_pins/sample.yaml b/samples/boards/st/power_mgmt/wkup_pins/sample.yaml index 26259c3de31..5136b723e84 100644 --- a/samples/boards/st/power_mgmt/wkup_pins/sample.yaml +++ b/samples/boards/st/power_mgmt/wkup_pins/sample.yaml @@ -6,6 +6,7 @@ tests: filter: dt_enabled_alias_with_parent_compat("wkup-src", "gpio-keys") and dt_compat_enabled("st,stm32-pwr") platform_allow: + - nucleo_c092rc - nucleo_g031k8 - nucleo_l4r5zi - nucleo_u575zi_q