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

tests/posix_sleep: dont use periph_rtt for efm32 and kinetis

These CPU families have a non configurable RTT of 1Hz, not enough for
ztimer_msec to run on periph_rtt.
This commit is contained in:
Francisco Molina 2021-01-19 12:36:12 +01:00
parent 4c9a2d7b95
commit bafcaecca8
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -2,8 +2,12 @@ include ../Makefile.tests_common
USEMODULE += posix_sleep
# Pull-in periph-rtt on board that provides this feature to switch to the RTT
# backend of ztimer
FEATURES_OPTIONAL += periph_rtt
# These CPU families have a non configurable RTT of 1Hz, not enough for
# ztimer_msec to run on periph_rtt
ifeq (,$(filter efm32 kinetis,$(CPU)))
# Pull-in periph-rtt on boards that provide this feature to switch to
# the RTT backend of ztimer
FEATURES_OPTIONAL += periph_rtt
endif
include $(RIOTBASE)/Makefile.include