tests: pm: add soc pm tests and sample for stm32f4x chip
Add soc power management test and blinky sample for the nucleo_f429zi board. Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
This commit is contained in:
parent
43ef398614
commit
e6c7a4c968
5 changed files with 28 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
# Increase IDLE stack for the IDLE timer
|
||||
CONFIG_IDLE_STACK_SIZE=640
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2023 Google LLC
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,cortex-m-idle-timer = &rtc;
|
||||
};
|
||||
};
|
|
@ -12,7 +12,9 @@ tests:
|
|||
- "Device ready"
|
||||
filter: dt_compat_enabled("zephyr,power-state") and
|
||||
dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
|
||||
dt_compat_enabled("st,stm32-lptim")
|
||||
(dt_compat_enabled("st,stm32-lptim") or
|
||||
dt_chosen_enabled("zephyr,cortex-m-idle-timer"))
|
||||
extra_args: "CONFIG_DEBUG=y"
|
||||
integration_platforms:
|
||||
- nucleo_wb55rg
|
||||
- nucleo_f429zi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue