mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/openwsn: move setting RTT_FREQUENCY
This commit is contained in:
parent
a658c38e06
commit
75eee27c72
@ -84,5 +84,13 @@ ifneq (,$(filter at86rf2xx,$(USEMODULE)))
|
||||
CFLAGS += -DAT86RF2XX_BASIC_MODE
|
||||
endif
|
||||
|
||||
# We want the highest possible frequency set for periph_rtt, but not all
|
||||
# platforms can configure this value. use highest possible RTT_FREQUENCY
|
||||
# for platforms that allow it
|
||||
ifneq (,$(filter stm32 nrf52 sam%,$(CPU)))
|
||||
RTT_FREQUENCY ?= RTT_MAX_FREQUENCY
|
||||
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
|
||||
endif
|
||||
|
||||
# LLVM ARM shows issues with missing definitions for stdatomic
|
||||
TOOLCHAINS_BLACKLIST += llvm
|
||||
|
@ -66,11 +66,3 @@ USEMODULE += shell_commands
|
||||
USEMODULE += ztimer_usec
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
# We want the highest possible frequency set for periph_rtt, but not all
|
||||
# platforms can configure this value. use highest possible RTT_FREQUENCY
|
||||
# for platforms that allow it
|
||||
ifneq (,$(filter stm32,$(CPU)))
|
||||
RTT_FREQUENCY ?= RTT_MAX_FREQUENCY
|
||||
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user