Skip to content
Snippets Groups Projects
Commit c5924f0d authored by Hauke Petersen's avatar Hauke Petersen
Browse files

cpu/sam21: added common dir for sam[l|d]21 CPUs

parent d80a6614
No related branches found
No related tags found
No related merge requests found
DIRS = periph
include $(RIOTBASE)/Makefile.base
# export the CPU family so we can differentiate between them in the code
FAM = $(shell echo $(CPU_FAM) | tr 'a-z-' 'A-Z_')
export CFLAGS += -DCPU_FAM_$(FAM)
# this CPU implementation doesn't use CMSIS initialization
export CFLAGS += -DDONT_USE_CMSIS_INIT
# use common periph functions
USEMODULE += periph_common
# export the common include directory
export INCLUDES += -I$(RIOTCPU)/sam21_common/include
MODULE = periph
include $(RIOTBASE)/Makefile.base
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment