samples: boards: st: power_mgmt: wkup_pins: add nucleo_c092rc

Add an overlay to the st specific power_mgmt wkup_pins sample
for the nucleo_c092rc board.
The user_button on pc13 is used as the wakeup-src.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2025-07-21 20:40:31 +02:00 committed by Chris Friedt
parent 8c77e53d87
commit 5673189e7b
2 changed files with 17 additions and 0 deletions

View File

@ -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";
};

View File

@ -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