1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/samd21/Makefile.include
2020-08-24 16:13:18 +02:00

21 lines
483 B
Makefile

ifneq (,$(filter samd21%a,$(CPU_MODEL)))
CFLAGS += -DCPU_SAMD21A
endif
ifneq (,$(filter samd21%b,$(CPU_MODEL)))
CFLAGS += -DCPU_SAMD21B
endif
ifneq (,$(filter samd21%c,$(CPU_MODEL)))
CFLAGS += -DCPU_SAMD21C
endif
ifneq (,$(filter samd21%d,$(CPU_MODEL)))
CFLAGS += -DCPU_SAMD21D
endif
ifneq (,$(filter samr21%,$(CPU_MODEL)))
CFLAGS += -DCPU_SAMR21
endif
CFLAGS += -DCPU_COMMON_SAMD21
include $(RIOTCPU)/sam0_common/Makefile.include
include $(RIOTMAKE)/arch/cortexm.inc.mk