1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph_rtc
Gunar Schorcht 46dbd867f2 tests/periph_rtc: fix system locks in ISR
`tests/periph` calls the functions `rtc_get_alarm` and `rtc_set_alarm` from an ISR. Depending on the implementation of `periph_rtc`, however, these functions use `newlib` functions such as `localtime` and `mktime`, which in turn call the `newlib` lock function `__tz_lock`. This can lead to a system lock if the `newlib`  with real lock functionality is used instead of the `newlib_nano`.
2020-02-02 15:04:22 +01:00
..
tests tests/periph_rtc: add automatic python test script 2019-01-18 14:42:58 +01:00
main.c tests/periph_rtc: fix system locks in ISR 2020-02-02 15:04:22 +01:00
Makefile tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
README.md tests/periph_rtc: fix alarm period in README 2019-01-18 09:17:30 +01:00

Expected result

When everything works as expected, after start-up, 4 alarm messages are displayed every 2 seconds.

Background

Test for the low-level RTC driver.