2019-10-08 09:05:11 +02:00
|
|
|
CPU_ARCH = cortex-m4f
|
2019-10-08 15:26:11 +02:00
|
|
|
CPU_FAM = samd5x
|
2019-03-12 13:57:27 +01:00
|
|
|
|
|
|
|
# Slot size is determined by "((total_flash_size - RIOTBOOT_LEN) / 2)".
|
|
|
|
# If RIOTBOOT_LEN uses an uneven number of flashpages, the remainder of the
|
|
|
|
# flash cannot be divided by two slots while staying FLASHPAGE_SIZE aligned.
|
2019-06-19 14:12:06 +02:00
|
|
|
RIOTBOOT_LEN ?= 0x4000
|
2019-03-12 13:57:27 +01:00
|
|
|
|
|
|
|
USEMODULE += pm_layered
|
|
|
|
|
2019-05-20 17:40:27 +02:00
|
|
|
BACKUP_RAM_ADDR = 0x47000000
|
|
|
|
BACKUP_RAM_LEN = 0x2000
|
|
|
|
|
2019-03-12 13:57:27 +01:00
|
|
|
include $(RIOTCPU)/sam0_common/Makefile.include
|
|
|
|
include $(RIOTMAKE)/arch/cortexm.inc.mk
|