CPU_ARCH = cortex-m4f CPU_FAM = samd5x # 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. RIOTBOOT_LEN ?= 0x4000 USEMODULE += pm_layered BACKUP_RAM_ADDR = 0x47000000 BACKUP_RAM_LEN = 0x2000 include $(RIOTCPU)/sam0_common/Makefile.include include $(RIOTMAKE)/arch/cortexm.inc.mk