mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
cpu/samd21: use sam21_common implementations
This commit is contained in:
parent
ef3169fbf7
commit
1d766bdb9e
@ -2,6 +2,6 @@
|
||||
MODULE = cpu
|
||||
|
||||
# add a list of subdirectories, that should also be build
|
||||
DIRS = periph $(RIOTCPU)/cortexm_common
|
||||
DIRS = periph $(RIOTCPU)/cortexm_common $(RIOTCPU)/sam21_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
||||
@ -1,9 +1,5 @@
|
||||
export CPU_ARCH = cortex-m0plus
|
||||
export CPU_FAM = samd21
|
||||
|
||||
# this CPU implementation doesn't use CMSIS initialisation
|
||||
export CFLAGS += -DDONT_USE_CMSIS_INIT
|
||||
|
||||
# use common periph functions
|
||||
USEMODULE += periph_common
|
||||
|
||||
include $(RIOTCPU)/sam21_common/Makefile.include
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user