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:
parent
5d14104056
commit
4cc2457b4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user