Skip to content

Commit

Permalink
sys/ztimer: auto-select ztimer_periph_rtt for saml21
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas committed Mar 10, 2022
1 parent 8fa2687 commit bc531b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/ztimer/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ endif
# the counter is read, this propagates and leads to timing errors
# on ztimer_msec that are higher than > +-1msec.
# The same goes for the fe310 rtt.
ifneq (,$(filter sam% fe310,$(CPU)))
USEMODULE += ztimer_no_periph_rtt
ifneq (,$(filter-out saml21,$(filter sam% fe310,$(CPU))))
USEMODULE += ztimerm_no_periph_rtt
endif

ifneq (,$(filter ztimer_msec ztimer_sec,$(USEMODULE)))
Expand Down

0 comments on commit bc531b4

Please sign in to comment.