1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
MrKevinWeiss
a00060f4d8
tests/periph_pm: Fix kconfig model 2022-08-17 14:37:25 +02:00
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
Benjamin Valentin
7fb8f3b7c5 sys/pm_layered: rename val_u8 -> blockers 2022-04-06 12:29:25 +02:00
Francisco Molina
600acb756c tests/periph_pm: select ztimer_no_periph_rtt for sam0 boards
For sam0 there is a conflict between rtt and rtc, make resolves
this based on feature conflicts and the feature to be included
depends on dependency resolution.

Kconfig can't rely on order of inclusion therefore ztimer_no_periph_rtt
is implied to aboid ztimer_msec selecting rtt (its the case for BOARDs
using stdio_rtt
2021-12-15 10:31:19 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
6fe7a47563 tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
67843a2b11
examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
Benjamin Valentin
bb3995b462 tests/periph_pm: introduce set_rtc
Similar to unblock_rtc, but uses `pm_set()` instead of `pm_unblock()`.
2020-04-29 18:06:36 +02:00
Benjamin Valentin
ffdb115ffe tests/periph_pm: drop use of mktime()
The RTC implementation are expected to normalize the input struct.
2020-04-29 18:04:27 +02:00
Marian Buschsieweke
f6873dbac3
sys/pm: Add pm_get_blocker()
Provide access to pm_blocker via a well-defined API rather than hacks.
2020-04-29 11:21:03 +02:00
Thomas Stilwell
325ab426d4
sys/shell/commands: pm: add set mode block mode unblock mode 2020-04-28 16:56:34 +02:00
Thomas Stilwell
aa97e7b49a
tests/periph_pm: be more verbose about what pm_set() is doing 2020-04-28 16:51:24 +02:00
Thomas Stilwell
90579e81c9
tests/periph_pm: print current PM blockers on startup 2020-04-28 16:51:24 +02:00
Thomas Stilwell
100390cdca
tests/periph_pm: print block/unblock error instead of assertion failure 2020-04-28 16:51:23 +02:00
Gunar Schorcht
c0c478a145 tests/periph_pm: allow interrupt flank definition 2020-03-19 08:19:10 +01:00
Benjamin Valentin
05db5c64bd tests/periph_pm: use button as a wake-up source
To test if GPIO interrupts can wake the CPU from sleep, configure
BTN0 (if availiable) as a wake-up source.

Pressing the buttong should wake up the CPU.
2019-12-04 16:18:16 +01:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Bas Stottelaar
74d496f99f tests: periph_pm: add peripheral test. 2018-04-05 10:57:52 +02:00