1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/posix_sleep/Makefile
Francisco Molina bafcaecca8
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.
2021-01-19 13:37:06 +01:00

14 lines
386 B
Makefile

include ../Makefile.tests_common
USEMODULE += posix_sleep
# 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