1
0
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:
Hauke Petersen 2016-02-08 18:23:17 +01:00
parent ef3169fbf7
commit 1d766bdb9e
2 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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