You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.1 KiB
TOML

# Lookup Helper Manifest
# This file is for connecting all targets to their respective locations in the framework
[arch]
QUOTE = "\""
PROJECT_NAME = "Default Project Name"
DIR_INCLUDES = ["-I$(QUOTE)../ESF/mcu/inc$(QUOTE)",
"-I$(QUOTE)../inc$(QUOTE)"]
[arch.arm]
CC = "arm-none-eabi-gcc"
CXX = "arm-none-eabi-g++"
OBJCOPY = "arm-none-eabi-objcopy"
OBJDUMP = "arm-none-eabi-objdump"
SIZE = "arm-none-eabi-gdb"
AS = "arm-none-eabi-as"
CFLAGS = ["-x c", "-DDEBUG", "-Os",
"-g3",
"-Wall",
"-std=gnu99",
"$(DIR_INCLUDES)",
"-MD -MP",
"-MF$(QUOTE)$(@:%.o=%.d)$(QUOTE)",
"-MT$(QUOTE)$(@:%.o=%.d)$(QUOTE)",
"-MT$(QUOTE)$(@:%.o=%.o)$(QUOTE)"]
EFLAGS = ["-Wl,--start-group -l m",
"-Wl,--end-group -mthumb",
"-Wl,-Map=$(QUOTE)$(PROJECT_NAME).map$(QUOTE)",
"--specs=nano.specs",
"-Wl,--gc-sections"]
HFLAGS = ["-R .eeprom",
"-R .fuse",
"-R .lock",
"-R .signature"]
EEP_FLAGS = ["-j .eeprom --set-section-flags=.eeprom=alloc,load",
"--change-section-lma",
".eeprom=0",
"--no-change-warnings"]
LD_PATH = "../ESF/ld"
DIR_INCLUDES = ["-I$(QUOTE)../ESF/common/inc$(QUOTE)",
"-I$(QUOTE)../ESF/common/inc/cmsis$(QUOTE)"]
[arch.arm.samd21]
MCPU = "cortex-m0plus"
[arch.arm.samd21.samd21e15a]
[arch.arm.samd21.samd21e16a]
[arch.arm.samd21.samd21e17a]
[arch.arm.samd21.samd21e18a]
[arch.arm.samd21.samd21g15a]
[arch.arm.samd21.samd21g16a]
[arch.arm.samd21.samd21g17a]
[arch.arm.samd21.samd21g17au]
[arch.arm.samd21.samd21g18a]
[arch.arm.samd21.samd21g18au]
[arch.arm.samd21.samd21j15a]
[arch.arm.samd21.samd21j16a]
[arch.arm.samd21.samd21j17a]
MCU = "__SAMD21J17A__"
LD_SCRIPT = "$(LD_PATH)/samd21j17a_flash.ld"
[arch.arm.samd21.samd21j18a]
MCU = "__SAMD21J18A__"
LD_SCRIPT = "$(LD_PATH)/samd21j18a_flash.ld"
[arch.arm.same54]
MCPU = "cortex-m4"
FPU = "fpv4-sp-d16"
FLOAT_ABI = "softfp"
[arch.arm.same54.same54p20a]
MCU = "__SAME54P20A__"
[arch.avr]
CC = "arm-none-eabi-gcc"
CXX = "arm-none-eabi-g++"
OBJCOPY = "arm-none-eabi-objcopy"
OBJDUMP = "arm-none-eabi-objdump"
SIZE = "arm-none-eabi-gdb"
AS = "arm-none-eabi-as"