2017-09-19 12:18:33 +02:00
|
|
|
# Define the CPU family so we can differentiate between them in the code
|
2019-08-29 17:41:49 +02:00
|
|
|
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
|
2017-09-19 12:18:33 +02:00
|
|
|
|
|
|
|
# this CPU implementation doesn't use CMSIS initialization
|
2019-08-27 16:06:41 +02:00
|
|
|
CFLAGS += -DDONT_USE_CMSIS_INIT
|
2017-09-19 12:18:33 +02:00
|
|
|
|
|
|
|
# for the sam[drl] CPUs we hold all linkerscripts in the sam0 common folder
|
2020-01-02 09:50:14 +01:00
|
|
|
LINKFLAGS += -L$(RIOTCPU)/sam_common/ldscripts
|
2017-09-19 12:18:33 +02:00
|
|
|
|
2019-08-27 16:06:41 +02:00
|
|
|
INCLUDES += -I$(RIOTCPU)/sam_common/include
|