2020-02-06 19:52:05 +01:00
|
|
|
ifneq (,$(filter saml21%a,$(CPU_MODEL)))
|
|
|
|
CFLAGS += -DCPU_SAML21A
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter saml21%b,$(CPU_MODEL)))
|
|
|
|
CFLAGS += -DCPU_SAML21B
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter samr30%,$(CPU_MODEL)))
|
|
|
|
CFLAGS += -DCPU_SAMR30
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter samr34%,$(CPU_MODEL)))
|
|
|
|
CFLAGS += -DCPU_SAMR34
|
|
|
|
endif
|
|
|
|
|
2019-05-08 13:27:43 +02:00
|
|
|
ifneq (,$(filter saml21j18b saml21j18a samr30g18a samr34j18b,$(CPU_MODEL)))
|
|
|
|
BACKUP_RAM_ADDR = 0x30000000
|
|
|
|
BACKUP_RAM_LEN = 0x2000
|
|
|
|
endif
|
|
|
|
|
2016-12-15 11:45:53 +01:00
|
|
|
include $(RIOTCPU)/sam0_common/Makefile.include
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/arch/cortexm.inc.mk
|