File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -133,16 +133,14 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f
133133## Create output (.bin file)
134134recipe.objcopy.bin.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.elf2bin.flags} {compiler.elf2bin.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
135135
136- ## Save bin
137- recipe.output.tmp_file={build.project_name}.bin
138- recipe.output.save_file={build.project_name}.{build.variant}.bin
139-
140136## Create output (.hex file)
141137recipe.objcopy.hex.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
142138
143- ## Save hex
144- recipe.output.tmp_file={build.project_name}.hex
145- recipe.output.save_file={build.project_name}.{build.variant}.hex
139+ build.preferred_out_format=bin
140+
141+ ## Save binary
142+ recipe.output.tmp_file={build.project_name}.{build.preferred_out_format}
143+ recipe.output.save_file={build.project_name}.{build.variant}.{build.preferred_out_format}
146144
147145## Compute size
148146recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
You can’t perform that action at this time.
0 commit comments