1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

tests/periph_wdt: only test powers of two

Some watchdog implementations do not support arbitrary precision
for timeouts.
Using powers of two seems like a good common denominator.
This commit is contained in:
Benjamin Valentin 2019-09-13 13:20:35 +02:00
parent c9f8ff1cf1
commit a4baf45da1

View File

@ -13,7 +13,7 @@ from testrunner import run
# We test only up to 10ms, with smaller times mcu doesn't have time to
# print system time before resetting
reset_times_ms = [1e2, 5e2, 1e3, 5e3]
reset_times_ms = [128, 512, 1024, 8192]
# We don't check for accuracy, only order of magnitude. Some MCU use an
# an internal un-calibrated clock as reference which can deviate in