Skip to content

Commit 2f474f0

Browse files
committed
Merge pull request #934 from CanTireInnovations/export_compiled_binary
Support Sketch > Export compiled binary
2 parents 219cb19 + b13742c commit 2f474f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform.txt

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ recipe.objcopy.eep.pattern=
7777

7878
recipe.objcopy.hex.pattern="{runtime.tools.esptool.path}/{compiler.esptool.cmd}" -eo "{runtime.platform.path}/bootloaders/eboot/eboot.elf" -bo "{build.path}/{build.project_name}.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bp 4096 -ec -eo "{build.path}/{build.project_name}.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
7979

80+
## Save hex
81+
recipe.output.tmp_file={build.project_name}.bin
82+
recipe.output.save_file={build.project_name}.{build.variant}.bin
83+
8084
## Compute size
8185
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
8286
recipe.size.regex=^(?:\.irom0\.text|\.text|\.data|\.rodata|)\s+([0-9]+).*

0 commit comments

Comments
 (0)