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:
parent
4c9a2d7b95
commit
bafcaecca8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user