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

sys/ztimer: use highest frequency for nrf51 as well

This commit is contained in:
Francisco Molina 2021-06-18 14:14:09 +02:00
parent 241899b2cb
commit beee6fdffb
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -8,7 +8,7 @@ endif
# might not be the most optimized for conversion guarantees that ztimer_periph_rtt
# will have a capable backend.
ifneq (,$(filter ztimer_periph_rtt,$(USEMODULE)))
ifneq (,$(filter stm32 nrf52 sam% kinetis efm32,$(CPU)))
ifneq (,$(filter stm32 nrf5% sam% kinetis efm32,$(CPU)))
RTT_FREQUENCY ?= RTT_MAX_FREQUENCY
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
endif