all d21 chips should be supported now

stable
penguin 4 years ago
parent 921394911f
commit 249326559f

@ -95,8 +95,26 @@ CLEAN_CMDS = ["rm -f $(PROJECT_NAME).a",
MCPU = "cortex-m0plus" MCPU = "cortex-m0plus"
CFLAGS = ["-D$(MCU)", "-mcpu=$(MCPU)"] CFLAGS = ["-D$(MCU)", "-mcpu=$(MCPU)"]
[arch.arm.samd21a.samd21e15a] [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] [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] [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] [arch.arm.samd21a.samd21e18a]
MCU = "__SAMD21E18A__" MCU = "__SAMD21E18A__"
LD_SCRIPT = "$(LD_PATH)/samd21e18a_flash.ld" LD_SCRIPT = "$(LD_PATH)/samd21e18a_flash.ld"
@ -104,15 +122,64 @@ OBJS = ["ESF/mcu/src/startup_samd21e18a.o",
"ESF/mcu/src/system_samd21e18a.o"] "ESF/mcu/src/system_samd21e18a.o"]
OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21e18a.o$(QUOTE)", OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21e18a.o$(QUOTE)",
"$(QUOTE)ESF/mcu/src/system_samd21e18a.o$(QUOTE)"] "$(QUOTE)ESF/mcu/src/system_samd21e18a.o$(QUOTE)"]
[arch.arm.samd21a.samd21g15a] [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] [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] [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] [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] [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] [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] [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] [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] [arch.arm.samd21a.samd21j17a]
MCU = "__SAMD21J17A__" MCU = "__SAMD21J17A__"
LD_SCRIPT = "$(LD_PATH)/samd21j17a_flash.ld" 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)", OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21j17a.o$(QUOTE)",
"$(QUOTE)ESF/mcu/src/system_samd21j17a.o$(QUOTE)"] "$(QUOTE)ESF/mcu/src/system_samd21j17a.o$(QUOTE)"]
[arch.arm.samd21a.samd21j18a] [arch.arm.samd21a.samd21j18a]
MCU = "__SAMD21J18A__"
LD_SCRIPT = "$(LD_PATH)/samd21j18a_flash.ld"
OBJS = ["ESF/mcu/src/startup_samd21j18a.o", OBJS = ["ESF/mcu/src/startup_samd21j18a.o",
"ESF/mcu/src/system_samd21j18a.o"] "ESF/mcu/src/system_samd21j18a.o"]
OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21j18a.o$(QUOTE)", OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_samd21j18a.o$(QUOTE)",
"$(QUOTE)ESF/mcu/src/system_samd21j18a.o$(QUOTE)"] "$(QUOTE)ESF/mcu/src/system_samd21j18a.o$(QUOTE)"]
MCU = "__SAMD21J18A__"
LD_SCRIPT = "$(LD_PATH)/samd21j18a_flash.ld"
[arch.arm.same54a] [arch.arm.same54a]

Loading…
Cancel
Save