From 921394911f116986a21adabfc13fcc78549df5ab Mon Sep 17 00:00:00 2001 From: penguin Date: Tue, 3 Nov 2020 14:00:05 -0600 Subject: [PATCH] added support for e54 chips --- README.md | 31 ++++++++++++++++++++++++++----- manifest/make-manifest.toml | 28 +++++++++++++++++++++++++++- 2 files changed, 53 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1e872479..74097e4c 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,29 @@ ${ESF_DIR}/toolchains/arm/bin/arm-none-eabi-gdb-py -iex "target extended-remote ### Supported Targets The framework allows me to add support for mcus pretty rapidly. I can add entire families of mcus with a few lines in the manifests. For now I've added support for mcus I use, but I'll be adding support for every Microchip SAM mcu shortly, as well as SiFive MCUs and STM32 MCUs. - -Currently supported - - samd21j18a - - samd21j17a - - same54p20a +### Status Guide +| Icon | Description | +| --- | --- | +| :exclamation: | In Development | +| :grey_question: | Unstable | +| :question: | Experimental | +| :white_check_mark: | Stable | + +#### Arm + +| MCU | Status | +| :--- | ---: | +| samd21e15a | --- | +| samd21e16a | --- | +| samd21e17a | --- | +| samd21e18a | --- | +| samd21g15a | --- | +| samd21g16a | --- | +| samd21g17a | --- | +| samd21g17au | --- | +| samd21g18a | --- | +| samd21g18au | --- | +| samd21j15a | --- | +| samd21j16a | --- | +| samd21j17a | --- | +| samd21j18a | --- | diff --git a/manifest/make-manifest.toml b/manifest/make-manifest.toml index b22c3c05..c3bf97c5 100644 --- a/manifest/make-manifest.toml +++ b/manifest/make-manifest.toml @@ -98,7 +98,12 @@ CFLAGS = ["-D$(MCU)", "-mcpu=$(MCPU)"] [arch.arm.samd21a.samd21e16a] [arch.arm.samd21a.samd21e17a] [arch.arm.samd21a.samd21e18a] - +MCU = "__SAMD21E18A__" +LD_SCRIPT = "$(LD_PATH)/samd21e18a_flash.ld" +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] [arch.arm.samd21a.samd21g16a] [arch.arm.samd21a.samd21g17a] @@ -128,6 +133,27 @@ LD_SCRIPT = "$(LD_PATH)/samd21j18a_flash.ld" MCPU = "cortex-m4" FPU = "fpv4-sp-d16" FLOAT_ABI = "softfp" +[arch.arm.same54a.same54n19a] +MCU = "__SAME54N19A__" +LD_SCRIPT = "$(LD_PATH)/same54n19a_flash.ld" +OBJS = ["ESF/mcu/src/startup_same54n19a.o", + "ESF/mcu/src/system_same54n19a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_same54n19a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_same54n19a.o$(QUOTE)"] +[arch.arm.same54a.same54n20a] +MCU = "__SAME54N20A__" +LD_SCRIPT = "$(LD_PATH)/same54n20a_flash.ld" +OBJS = ["ESF/mcu/src/startup_same54n20a.o", + "ESF/mcu/src/system_same54n20a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_same54n20a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_same54n20a.o$(QUOTE)"] +[arch.arm.same54a.same54p19a] +MCU = "__SAME54P19A__" +LD_SCRIPT = "$(LD_PATH)/same54p19a_flash.ld" +OBJS = ["ESF/mcu/src/startup_same54p19a.o", + "ESF/mcu/src/system_same54p19a.o"] +OBJS_AS_ARGS = ["$(QUOTE)ESF/mcu/src/startup_same54p19a.o$(QUOTE)", + "$(QUOTE)ESF/mcu/src/system_same54p19a.o$(QUOTE)"] [arch.arm.same54a.same54p20a] MCU = "__SAME54P20A__" LD_SCRIPT = "$(LD_PATH)/same54p20a_flash.ld"