RIOT/cpu/sam_common/Makefile.include
2020-01-02 09:50:14 +01:00

11 lines
398 B
Makefile

# Define the CPU family so we can differentiate between them in the code
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
# this CPU implementation doesn't use CMSIS initialization
CFLAGS += -DDONT_USE_CMSIS_INIT
# for the sam[drl] CPUs we hold all linkerscripts in the sam0 common folder
LINKFLAGS += -L$(RIOTCPU)/sam_common/ldscripts
INCLUDES += -I$(RIOTCPU)/sam_common/include