20
20
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
21
21
22
22
name=SparkFun SAMD (32-bits ARM Cortex-M0+) Boards
23
- version=1.6.1
23
+ version=1.2.2
24
24
25
25
# Compile variables
26
26
# -----------------
@@ -86,9 +86,9 @@ recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -D
86
86
recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {compiler.arm.cmsis.path} {includes} "{source_file}" -o "{object_file}"
87
87
88
88
## Create archives
89
- recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}"
90
- #Below archive recipe clears a warning in Arduino, but tends to break compilation on Mac
91
- # recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
89
+ # archive_file_path is needed for backwards compatibility with IDE 1.6.5 or older, IDE 1.6.6 or newer overrides this value
90
+ archive_file_path={build.path}/{archive_file}
91
+ recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
92
92
93
93
## Combine gc-sections, archives, and objects
94
94
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" "-L{build.path}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" --specs=nano.specs --specs=nosys.specs {compiler.ldflags} -o "{build.path}/{build.project_name}.elf" {object_files} -Wl,--start-group -lm "{build.path}/{archive_file}" -Wl,--end-group
@@ -111,7 +111,7 @@ recipe.size.regex=\.text\s+([0-9]+).*
111
111
#
112
112
# BOSSA
113
113
#
114
- tools.bossac.path={runtime.tools.bossac-1.6.1-arduino .path}
114
+ tools.bossac.path={runtime.tools.bossac.path}
115
115
tools.bossac.cmd=bossac
116
116
tools.bossac.cmd.windows=bossac.exe
117
117
@@ -142,4 +142,3 @@ tools.openocd.erase.pattern=
142
142
tools.openocd.bootloader.params.verbose=-d2
143
143
tools.openocd.bootloader.params.quiet=-d0
144
144
tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; init; halt; at91samd bootloader 0; program {{{runtime.platform.path}/bootloaders/{bootloader.file}}} verify reset; shutdown"
145
-
0 commit comments