1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/sam21_common/Makefile.include
2016-02-08 18:45:15 +01:00

13 lines
406 B
Makefile

# 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