mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f375b00ff3
This adds supoprt for the Atmel SAMD51 & SAME54 SoC. The SAME5x/SAMD5x is a line of Cortex-M4F MCUs that share peripherals with the samd2x Cortex-M0+ and saml1x Cortex-M23 parts.
13 lines
417 B
Makefile
13 lines
417 B
Makefile
export CPU_ARCH = cortex-m4f
|
|
export 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 ?= 0x2000
|
|
|
|
USEMODULE += pm_layered
|
|
|
|
include $(RIOTCPU)/sam0_common/Makefile.include
|
|
include $(RIOTMAKE)/arch/cortexm.inc.mk
|