aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-09-29 12:17:20 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-10-13 11:27:14 -0400
commit69bd26b75718dbd18812dec3e4725fe467e43f46 (patch)
treea4f59f2fb2c6a5a54a19379f14086c29d7346d1f /src
parent960fd0b1f36d8fc924c99b9fc08b597d8480ad20 (diff)
downloadkutter-69bd26b75718dbd18812dec3e4725fe467e43f46.tar.gz
kutter-69bd26b75718dbd18812dec3e4725fe467e43f46.tar.xz
kutter-69bd26b75718dbd18812dec3e4725fe467e43f46.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/atsamd/Makefile1
1 files changed, 1 insertions, 0 deletions
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