From 69bd26b75718dbd18812dec3e4725fe467e43f46 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 29 Sep 2022 12:17:20 -0400 Subject: lib: Add atmel same51 and same54 build definitions This also replaces the samd51 component files with the definitions from the same54 repository. Signed-off-by: Kevin O'Connor --- src/atsamd/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/atsamd/Makefile b/src/atsamd/Makefile index bb35366b..058cf124 100644 --- a/src/atsamd/Makefile +++ b/src/atsamd/Makefile @@ -9,6 +9,7 @@ MCU := $(shell echo $(CONFIG_MCU) | tr a-z A-Z) CFLAGS-$(CONFIG_MACH_SAMD21) += -mcpu=cortex-m0plus -Ilib/samd21/samd21a/include CFLAGS-$(CONFIG_MACH_SAMD51) += -mcpu=cortex-m4 -Ilib/samd51/samd51a/include +CFLAGS-$(CONFIG_MACH_SAMD51) += -Ilib/same54/include CFLAGS += $(CFLAGS-y) -D__$(MCU)__ -mthumb -Ilib/cmsis-core CFLAGS_klipper.elf += --specs=nano.specs --specs=nosys.specs -- cgit v1.2.3-70-g09d2