@@ -76,7 +76,7 @@ recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.S.flags} -mcpu={b
7676#recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" "{source_file}" -o "{object_file}"
7777
7878## Create archives
79- recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file }" "{object_file}"
79+ recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path }" "{object_file}"
8080
8181## Combine gc-sections, archives, and objects
8282##recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mcpu={build.mcu} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" -lm -lgcc -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "{build.path}/syscalls_sam3.c.o" {object_files} "{build.variant.path}/{build.variant_system_lib}" "{build.path}/{archive_file}" -Wl,--end-group
@@ -102,11 +102,10 @@ recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
102102# Upload using Maple bootloader over DFU
103103tools.maple_upload.cmd=maple_upload
104104tools.maple_upload.cmd.windows=maple_upload.bat
105- #tools.maple_upload.cmd.linux=
106105tools.maple_upload.path={runtime.hardware.path}/tools/win
107106tools.maple_upload.path.macosx={runtime.hardware.path}/tools/macosx
108107tools.maple_upload.path.linux={runtime.hardware.path}/tools/linux
109-
108+ tools.maple_upload.path.linux64={runtime.hardware.path}/tools/linux64
110109tools.maple_upload.upload.params.verbose=-d
111110tools.maple_upload.upload.params.quiet=
112111tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin" {upload.dfuse_addr}
@@ -116,9 +115,11 @@ tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altI
116115
117116tools.serial_upload.cmd=serial_upload
118117tools.serial_upload.cmd.windows=serial_upload.bat
119- # tools.serial_upload.cmd.linux=
118+ tools.serial_upload.cmd.macosx=serial_upload
120119tools.serial_upload.path={runtime.hardware.path}/tools/win
121-
120+ tools.serial_upload.path.macosx={runtime.hardware.path}/tools/macosx
121+ tools.serial_upload.path.linux={runtime.hardware.path}/tools/linux
122+ tools.serial_upload.path.linux64={runtime.hardware.path}/tools/linux64
122123tools.serial_upload.upload.params.verbose=-d
123124tools.serial_upload.upload.params.quiet=
124125tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
@@ -127,9 +128,12 @@ tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.alt
127128
128129tools.stlink.cmd=stlink_upload
129130tools.stlink.cmd.windows=stlink_upload.bat
130- #tools.stlink.cmd.linux=stlink_upload
131- tools.stlink.path={runtime.hardware.path}/tools/win
131+ tools.stlink_upload.path.windows={runtime.hardware.path}/tools/win
132+ tools.stlink_upload.path.macosx={runtime.hardware.path}/tools/macosx
133+ tools.stlink_upload.path.linux={runtime.hardware.path}/tools/linux
134+ tools.stlink_upload.path.linux64={runtime.hardware.path}/tools/linux64
132135tools.stlink.path.linux={runtime.hardware.path}/tools/linux/
136+ tools.stlink.path.macosx={runtime.hardware.path}/tools/macosx/
133137tools.stlink.upload.params.verbose=-d
134138tools.stlink.upload.params.quiet=
135139tools.stlink.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
0 commit comments