Skip to content

Commit b307c15

Browse files
nordic-babunordicjm
authored andcommitted
tests: benchmarks: current_consumption: systemoff
Add configuration with lpcomp wakeup. Signed-off-by: Bartlomiej Buczek <[email protected]>
1 parent cbeb54f commit b307c15

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
&comp {
2+
compatible = "nordic,nrf-lpcomp";
3+
psel = "AIN1";
4+
refsel = "VDD_4_8";
5+
status = "okay";
6+
enable-hyst;
7+
};

tests/benchmarks/current_consumption/system_off/testcase.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,21 @@ tests:
9191
pytest_root:
9292
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_systemoff"
9393
timeout: 90
94+
benchmarks.current_consumption.sample.boards.nrf.system_off.lpcomp_wakeup:
95+
platform_allow:
96+
- nrf54l15dk/nrf54l15/cpuapp
97+
- nrf54l15dk/nrf54l10/cpuapp
98+
- nrf54l15dk/nrf54l05/cpuapp
99+
integration_platforms:
100+
- nrf54l15dk/nrf54l15/cpuapp
101+
extra_args: EXTRA_DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_lpcomp_wakeup.overlay"
102+
extra_configs:
103+
- CONFIG_LPCOMP_WAKEUP_ENABLE=y
104+
- CONFIG_COMPARATOR=y
105+
tags: ppk_power_measure
106+
harness: pytest
107+
harness_config:
108+
fixture: ppk_power_measure
109+
pytest_root:
110+
- "${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_with_wakeups"
111+
timeout: 90

0 commit comments

Comments
 (0)