<commit_before>include ../Makefile.tests_common

FEATURES_REQUIRED = periph_timer

BOARDS_TIMER_25kHz := \
    arduino-duemilanove \
    arduino-leonardo \
    arduino-mega2560 \
    arduino-uno \
    atmega256rfr2-xpro \
    atmega328p \
    waspmote-pro \
    #

BOARDS_TIMER_32kHz := \
    hifive1 \
    hifive1b \
    %-kw41z \
    openlabs-kw41z-mini \
    frdm-k64f \
    frdm-k22f \
    slstk3401a \
    slstk3402a \
    sltb001a \
    stk3600 \
    stk3700 \
    #

BOARDS_TIMER_CLOCK_CORECLOCK := \
  cc2538dk \
  openmote-b \
  openmote-cc2538 \
  remote-reva \
  remote-revb \
  #

ifneq (,$(filter $(BOARDS_TIMER_25kHz),$(BOARD)))
  TIMER_SPEED ?= 250000
else ifneq (,$(filter $(BOARDS_TIMER_32kHz),$(BOARD)))
  TIMER_SPEED ?= 32768
else ifneq (,$(filter $(BOARDS_TIMER_CLOCK_CORECLOCK),$(BOARD)))
  TIMER_SPEED ?= CLOCK_CORECLOCK
endif

TIMER_SPEED ?= 1000000

CFLAGS += -DTIMER_SPEED=$(TIMER_SPEED)
include $(RIOTBASE)/Makefile.include<commit_msg>tests/periph_timer: fix typo for boards using 250kHz timer<commit_after>include ../Makefile.tests_common

FEATURES_REQUIRED = periph_timer

BOARDS_TIMER_250kHz := \
    arduino-duemilanove \
    arduino-leonardo \
    arduino-mega2560 \
    arduino-uno \
    atmega256rfr2-xpro \
    atmega328p \
    waspmote-pro \
    #

BOARDS_TIMER_32kHz := \
    hifive1 \
    hifive1b \
    %-kw41z \
    openlabs-kw41z-mini \
    frdm-k64f \
    frdm-k22f \
    slstk3401a \
    slstk3402a \
    sltb001a \
    stk3600 \
    stk3700 \
    #

BOARDS_TIMER_CLOCK_CORECLOCK := \
  cc2538dk \
  openmote-b \
  openmote-cc2538 \
  remote-reva \
  remote-revb \
  #

ifneq (,$(filter $(BOARDS_TIMER_250kHz),$(BOARD)))
  TIMER_SPEED ?= 250000
else ifneq (,$(filter $(BOARDS_TIMER_32kHz),$(BOARD)))
  TIMER_SPEED ?= 32768
else ifneq (,$(filter $(BOARDS_TIMER_CLOCK_CORECLOCK),$(BOARD)))
  TIMER_SPEED ?= CLOCK_CORECLOCK
endif

TIMER_SPEED ?= 1000000

CFLAGS += -DTIMER_SPEED=$(TIMER_SPEED)
include $(RIOTBASE)/Makefile.include
{'fraction_non_alphanumeric': 0.12087353986795328, 'fraction_numerical': 0.07770441848654139, 'mean_word_length': 2.9637826961770624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7220283', 'n_tokens_mistral': 990, 'n_tokens_neox': 870, 'n_words': 114}