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

Merge pull request #16572 from fjmolinas/pr_ztimer_rtt_nrf51

sys/ztimer: use highest frequency for nrf51 as well
This commit is contained in:
benpicco 2021-06-21 14:42:04 +02:00 committed by GitHub
commit 7613552344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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