From 249326559f92866b1b6352e02c5232f1b985c0b7 Mon Sep 17 00:00:00 2001 From: penguin Date: Tue, 3 Nov 2020 14:14:43 -0600 Subject: [PATCH] all d21 chips should be supported now --- manifest/make-manifest.toml | 71 +++++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 2 deletions(-) diff --git a/manifest/make-manifest.toml b/manifest/make-manifest.toml index c3bf97c5..164d6a99 100644 --- a/manifest/make-manifest.toml +++ b/manifest/make-manifest.toml @@ -95,8 +95,26 @@ CLEAN_CMDS = ["rm -f $(PROJECT_NAME).a", MCPU = "cortex-m0plus" CFLAGS = ["-D$(MCU)", "-mcpu=$(MCPU)"] [arch.arm.samd21a.samd21e15a] +MCU = "__SAMD21E15A__" +LD_SCRIPT = "$(LD_PATH)/samd21e15a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21e15a.o", + "ESF/mcu/src/system_samd21e15a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21e15a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21e15a.o$(QUOTE)"] [arch.arm.samd21a.samd21e16a] +MCU = "__SAMD21E16A__" +LD_SCRIPT = "$(LD_PATH)/samd21e16a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21e16a.o", + "ESF/mcu/src/system_samd21e16a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21e16a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21e16a.o$(QUOTE)"] [arch.arm.samd21a.samd21e17a] +MCU = "__SAMD21E17A__" +LD_SCRIPT = "$(LD_PATH)/samd21e17a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21e17a.o", + "ESF/mcu/src/system_samd21e17a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21e17a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21e17a.o$(QUOTE)"] [arch.arm.samd21a.samd21e18a] MCU = "__SAMD21E18A__" LD_SCRIPT = "$(LD_PATH)/samd21e18a_flash.ld" @@ -104,15 +122,64 @@ OBJS = ["ESF/mcu/src/startup_samd21e18a.o", "ESF/mcu/src/system_samd21e18a.o"] OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21e18a.o$(QUOTE)", "$(QUOTE)ESF/mcu/src/system_samd21e18a.o$(QUOTE)"] + [arch.arm.samd21a.samd21g15a] +MCU = "__SAMD21G15A__" +LD_SCRIPT = "$(LD_PATH)/samd21g15a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21g15a.o", + "ESF/mcu/src/system_samd21g15a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21g15a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21g15a.o$(QUOTE)"] [arch.arm.samd21a.samd21g16a] +MCU = "__SAMD21G16A__" +LD_SCRIPT = "$(LD_PATH)/samd21g16a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21g16a.o", + "ESF/mcu/src/system_samd21g16a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21g16a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21g16a.o$(QUOTE)"] [arch.arm.samd21a.samd21g17a] +MCU = "__SAMD21G17A__" +LD_SCRIPT = "$(LD_PATH)/samd21g17a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21g17a.o", + "ESF/mcu/src/system_samd21g17a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21g17a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21g17a.o$(QUOTE)"] [arch.arm.samd21a.samd21g17au] +MCU = "__SAMD21G17AU__" +LD_SCRIPT = "$(LD_PATH)/samd21g17au_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21g17au.o", + "ESF/mcu/src/system_samd21g17au.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21g17au.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21g17au.o$(QUOTE)"] [arch.arm.samd21a.samd21g18a] +MCU = "__SAMD21G18A__" +LD_SCRIPT = "$(LD_PATH)/samd21g18a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21g18a.o", + "ESF/mcu/src/system_samd21g18a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21g18a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21g18a.o$(QUOTE)"] [arch.arm.samd21a.samd21g18au] +MCU = "__SAMD21G18AU__" +LD_SCRIPT = "$(LD_PATH)/samd21g18au_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21g18au.o", + "ESF/mcu/src/system_samd21g18au.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21g18au.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21g18au.o$(QUOTE)"] [arch.arm.samd21a.samd21j15a] +MCU = "__SAMD21J15A__" +LD_SCRIPT = "$(LD_PATH)/samd21j15a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21j15a.o", + "ESF/mcu/src/system_samd21j15a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21j15a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21j15a.o$(QUOTE)"] [arch.arm.samd21a.samd21j16a] +MCU = "__SAMD21J16A__" +LD_SCRIPT = "$(LD_PATH)/samd21j16a_flash.ld" +OBJS = ["ESF/mcu/src/startup_samd21j16a.o", + "ESF/mcu/src/system_samd21j16a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21j16a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_samd21j16a.o$(QUOTE)"] [arch.arm.samd21a.samd21j17a] MCU = "__SAMD21J17A__" LD_SCRIPT = "$(LD_PATH)/samd21j17a_flash.ld" @@ -121,12 +188,12 @@ OBJS = ["ESF/mcu/src/startup_samd21j17a.o", OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21j17a.o$(QUOTE)", "$(QUOTE)ESF/mcu/src/system_samd21j17a.o$(QUOTE)"] [arch.arm.samd21a.samd21j18a] +MCU = "__SAMD21J18A__" +LD_SCRIPT = "$(LD_PATH)/samd21j18a_flash.ld" OBJS = ["ESF/mcu/src/startup_samd21j18a.o", "ESF/mcu/src/system_samd21j18a.o"] OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21j18a.o$(QUOTE)", "$(QUOTE)ESF/mcu/src/system_samd21j18a.o$(QUOTE)"] -MCU = "__SAMD21J18A__" -LD_SCRIPT = "$(LD_PATH)/samd21j18a_flash.ld" [arch.arm.same54a]