@@ -22,31 +22,31 @@ compiler.ldflags=
2222compiler.size.cmd=arm-none-eabi-size
2323compiler.define=-DARDUINO=
2424
25- compiler.libsam.c.flags=-I{build.system.path}/libsam -I{build.system.path}/CMSIS/CMSIS/Include/ -I{build.system.path}/CMSIS/Device/ATMEL/
25+ compiler.libsam.c.flags=" -I{build.system.path}/libsam" " -I{build.system.path}/CMSIS/CMSIS/Include/" " -I{build.system.path}/CMSIS/Device/ATMEL/"
2626
2727# SAM3 compile patterns
2828# ---------------------
2929
3030## Compile c files
31- recipe.c.o.pattern={compiler.path}{compiler.c.cmd} {compiler.c.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -D{software}={runtime.ide.version} {build.extra_flags} {compiler.libsam.c.flags} {includes} {source_file} -o {object_file}
31+ recipe.c.o.pattern=" {compiler.path}{compiler.c.cmd}" {compiler.c.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -D{software}={runtime.ide.version} {build.extra_flags} {compiler.libsam.c.flags} {includes} " {source_file}" -o " {object_file}"
3232
3333## Compile c++ files
34- recipe.cpp.o.pattern={compiler.path}{compiler.cpp.cmd} {compiler.cpp.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -D{software}={runtime.ide.version} {build.extra_flags} {compiler.libsam.c.flags} {includes} {source_file} -o {object_file}
34+ recipe.cpp.o.pattern=" {compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -D{software}={runtime.ide.version} {build.extra_flags} {compiler.libsam.c.flags} {includes} " {source_file}" -o " {object_file}"
3535
3636## Create archives
37- recipe.ar.pattern={compiler.path}{compiler.ar.cmd} {compiler.ar.flags} {build.path}/{archive_file} {object_file}
37+ recipe.ar.pattern=" {compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} " {build.path}/{archive_file}" " {object_file}"
3838
3939## Combine gc-sections, archives, and objects
40- 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 -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 {object_files} {build.variant.path}/{build.variant_system_lib} {build.path}/{archive_file} -Wl,--end-group
40+ 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" -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 {object_files} " {build.variant.path}/{build.variant_system_lib}" " {build.path}/{archive_file}" -Wl,--end-group
4141
4242## Create eeprom
4343recipe.objcopy.eep.pattern=
4444
4545## Create hex
46- recipe.objcopy.hex.pattern={compiler.path}{compiler.elf2hex.cmd} {compiler.elf2hex.flags} {build.path}/{build.project_name}.elf {build.path}/{build.project_name}.bin
46+ recipe.objcopy.hex.pattern=" {compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} " {build.path}/{build.project_name}.elf" " {build.path}/{build.project_name}.bin"
4747
4848## Compute size
49- recipe.size.pattern={compiler.path}{compiler.size.cmd} -A {build.path}/{build.project_name}.elf
49+ recipe.size.pattern=" {compiler.path}{compiler.size.cmd}" -A " {build.path}/{build.project_name}.elf"
5050recipe.size.regex=\.text\s+([0-9]+).*
5151
5252
@@ -59,5 +59,5 @@ tools.bossac.path={runtime.ide.path}/hardware/tools
5959
6060tools.bossac.upload.params.verbose=-i -d
6161tools.bossac.upload.params.quiet=
62- tools.bossac.upload.pattern={path}/{cmd} {upload.verbose} --port={serial.port.file} -e -w -v -b {build.path}/{build.project_name}.bin
62+ tools.bossac.upload.pattern=" {path}/{cmd}" {upload.verbose} --port={serial.port.file} -e -w -v -b " {build.path}/{build.project_name}.bin"
6363
0 commit comments