File tree 1 file changed +5
-7
lines changed
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
133
133
## Create output (.bin file)
134
134
recipe.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"
135
135
136
- ## Save bin
137
- recipe.output.tmp_file={build.project_name}.bin
138
- recipe.output.save_file={build.project_name}.{build.variant}.bin
139
-
140
136
## Create output (.hex file)
141
137
recipe.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"
142
138
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}
146
144
147
145
## Compute size
148
146
recipe.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