sys/ztimer: use highest frequency for nrf51 as well
This commit is contained in:
parent
241899b2cb
commit
beee6fdffb
@ -8,7 +8,7 @@ endif
|
|||||||
# might not be the most optimized for conversion guarantees that ztimer_periph_rtt
|
# might not be the most optimized for conversion guarantees that ztimer_periph_rtt
|
||||||
# will have a capable backend.
|
# will have a capable backend.
|
||||||
ifneq (,$(filter ztimer_periph_rtt,$(USEMODULE)))
|
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
|
RTT_FREQUENCY ?= RTT_MAX_FREQUENCY
|
||||||
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
|
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user