1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tests/periph_timer: TIMER_SPEED=CLOCK_CORECLOCK for cc2538 boards

This commit is contained in:
Francisco Molina 2020-03-20 15:45:31 +01:00
parent 5d14104056
commit 4cc2457b4f
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -21,7 +21,7 @@ BOARDS_TIMER_32kHz := \
frdm-k22f \
#
BOARDS_TIMER_16MHz := \
BOARDS_TIMER_CLOCK_CORECLOCK := \
cc2538dk \
openmote-b \
openmote-cc2538 \
@ -33,8 +33,8 @@ ifneq (,$(filter $(BOARDS_TIMER_25kHz),$(BOARD)))
TIMER_SPEED ?= 250000
else ifneq (,$(filter $(BOARDS_TIMER_32kHz),$(BOARD)))
TIMER_SPEED ?= 32768
else ifneq (,$(filter $(BOARDS_TIMER_16MHz),$(BOARD)))
TIMER_SPEED ?= 16000000
else ifneq (,$(filter $(BOARDS_TIMER_CLOCK_CORECLOCK),$(BOARD)))
TIMER_SPEED ?= CLOCK_CORECLOCK
endif
TIMER_SPEED ?= 1000000