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

21 Commits

Author SHA1 Message Date
Francisco Molina
d9ee424b7c
cpu/kinetis: use LPTMR as rtt backend 2021-06-15 08:29:09 +02:00
Marian Buschsieweke
49a5bfb9e5
tests/periph_rtt: be more verbose on error
If `rtt_get_alarm()` doesn't return the correct value, print expected
and return value to ease debugging.
2021-03-30 14:48:03 +02:00
Marian Buschsieweke
c6e50adc6a
tests/periph_rtt: increase test coverage
Previously, the test didn't cover `rtt_set_counter()` and
`rtt_get_alarm`. This fixes the issue.
2021-03-08 14:16:46 +01:00
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
Hauke Petersen
261d63fee3 tests/periph_rtt: add test for tick conversions 2020-11-16 10:00:24 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
8ed6f18ee8
tests/periph_rtt: fix invalid RTT_FREQUENCY set for non stm32f1 2020-05-30 19:07:50 +02:00
Francisco Molina
c95d02dfd5
tests/periph_rtt: lower RTT_FREQUENCY for stm32 boards
All stm32% but stm32f1 RTT are based on a 16 bit LPTIM, if using
the default 32768KHz configuration TICKS_TO_WAIT will overflow
2020-05-05 14:36:32 +02:00
Francisco Molina
740a386b17
tests/periph_rtt: only disable periph_init_rtt 2020-03-06 11:21:28 +01:00
Francisco Molina
416c048737 tests: add test_utils_interactive_sync when possible
- Define test_utils_interactive_sync as DEFAULT_MODULE in Makefile.tests_common
- For tests disabling autoinit, add test_utils_interactive_sync to main
- Add DISABLE_MODULE += test_utils_interactive_sync for tests requiring
  sudo,  `tests/shell`, `tests/minimal` and `tests/stdin`
- Add shell_commands to tests/periph_wdt and tests/struct_tm_utility to
  pull `r` and `s` commands
- Remove includes and usage in `tests/main.c` for tests that where
  already using test_utils_interactive_sync
2019-11-27 15:07:42 +01:00
danpetry
b3ed7ade10 tests/periph_rtt: Correct the test script syntax
Previously the test was failing due to apparently incorrect Python syntax in
the testrunner script. This fix corrects this and the test now passes.
2019-04-12 14:39:14 +02:00
6a570f3a82
tests/periph_rtt: add automatic testing script 2019-01-31 10:47:05 +01:00
aee4771a42
tests/periph_rtt: use a 5s delay between each hello 2019-01-31 10:46:56 +01:00
Joakim Nohlgård
d3d3c1c036 tests/periph_rtt: Initialize timer target from current reading
This avoids false test failures when the RTT retains its old counter
value across reboots/resets.
2018-04-12 08:01:29 +02:00
fc2eff9fba tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
Hauke Petersen
3943d08b46 tests/periph_rtt: make wakeups more periodic 2017-04-06 09:49:30 +02:00
smlng
ca25ab669d tests: set default board=samr21-xpro for tests/periph_rtt 2017-02-23 14:55:58 +01:00
smlng
f84e8a37e2 tests: add missing include for Makefile.tests_common 2017-01-20 17:24:56 +01:00
Ludwig Ortmann
b9d17e38f3 tests/periph_rtt: let build fail w/o RTT 2014-10-16 19:35:41 +02:00
Ludwig Ortmann
4cafe7c5a9 make: introduce and use periph_rtt feature 2014-10-16 19:35:41 +02:00
Hauke Petersen
9fb37be0aa tests/periph_rtt: added test for RTT drivers 2014-08-22 00:54:10 +02:00