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:
parent
8c77e53d87
commit
5673189e7b
@ -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";
|
||||
};
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user