@@ -71,7 +71,7 @@ recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compil
71
71
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} "-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}" "-L{build.variant.path}" -Wl,--whole-archive "-l{build.variant_system_lib}" -Wl,--no-whole-archive -Wl,--start-group "-l{build.variant_system_lib}" -lnsim -lc -lm -lgcc {object_files} "{build.path}/{archive_file}"
72
72
73
73
## Save output with debug symbols (.debug.elf file). Uncomment if you wish to use OpenOCD to debug.
74
- recipe.hooks.objcopy.preobjcopy.1.pattern={runtime.tools.arduino101load.path}/arduino101load -c -from="{build.path}/{build.project_name}.elf" -to="{build.path}/../arduino101_sketch.debug.elf"
74
+ recipe.hooks.objcopy.preobjcopy.1.pattern=" {runtime.tools.arduino101load.path}/arduino101load" -c -from="{build.path}/{build.project_name}.elf" -to="{build.path}/../arduino101_sketch.debug.elf"
75
75
76
76
## Create output (.bin file)
77
77
recipe.objcopy.bin.pattern="{compiler.path}{compiler.elf2bin.cmd}" {compiler.elf2bin.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
@@ -107,12 +107,12 @@ tools.arduino101load.cmd.path={runtime.tools.arduino101load.path}/arduino101load
107
107
tools.arduino101load.upload.params.verbose=-v
108
108
tools.arduino101load.upload.params.quiet=-q
109
109
110
- tools.arduino101load.upload.pattern="{cmd.path}" -dfu=" {runtime.tools.dfu-util.path}" -bin=" {build.path}/{build.project_name}.bin" -port={serial.port} "{upload.verbose}" -ble_fw_str={ble.fw.string} -ble_fw_pos={ble.fw.position} -rtos_fw_str={rtos.fw.string} -rtos_fw_pos={rtos.fw.position} -core={version}
110
+ tools.arduino101load.upload.pattern="{cmd.path}" " -dfu={runtime.tools.dfu-util.path}" " -bin={build.path}/{build.project_name}.bin" -port={serial.port} "{upload.verbose}" -ble_fw_str={ble.fw.string} -ble_fw_pos={ble.fw.position} -rtos_fw_str={rtos.fw.string} -rtos_fw_pos={rtos.fw.position} -core={version}
111
111
112
112
# This is needed to avoid an error on unexistent fields
113
113
tools.arduino101load.erase.params.verbose=
114
114
tools.arduino101load.erase.params.quiet=
115
115
tools.arduino101load.erase.pattern=
116
116
tools.arduino101load.bootloader.params.verbose=-v
117
117
tools.arduino101load.bootloader.params.quiet=-q
118
- tools.arduino101load.bootloader.pattern="{cmd.path}" -dfu=" {runtime.tools.dfu-util.path}" -port={serial.port} "{bootloader.verbose}" -f -core={version}
118
+ tools.arduino101load.bootloader.pattern="{cmd.path}" " -dfu={runtime.tools.dfu-util.path}" -port={serial.port} "{bootloader.verbose}" -f -core={version}
0 commit comments