1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph_pm
Marian Buschsieweke 9b0cf39312
tests/periph_pm: avoid abusing shell command
To allow marking the shell command static, add a trivial
_show_blockers() function that lists the current pm layered blocker
state.
2022-06-11 14:38:58 +02:00
..
app.config.test tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
Kconfig tests/periph_pm: select ztimer_no_periph_rtt for sam0 boards 2021-12-15 10:31:19 +01:00
main.c tests/periph_pm: avoid abusing shell command 2022-06-11 14:38:58 +02:00
Makefile tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
Makefile.board.dep tests/periph_pm: select ztimer_no_periph_rtt for sam0 boards 2021-12-15 10:31:19 +01:00
Makefile.ci
README.md

Expected result

You should be presented with the RIOT shell, providing you with commands to test the power management implementation by forcing the CPU to set a certain power mode. An external power measurement device is needed to observe the effect.

Some power modes may require a certain event to wake up. Reset the CPU if needed.

If a RTC peripheral is available, an additional command to temporarily unblock a power mode is available (provided that the CPU can wake-up from given power mode).

Background

Test the functionality of the platform's power management implementation.