Skip to content

Commit e2b6d18

Browse files
championswimmeradamvoss
authored andcommitted
update Sketch menu, add Save hex option
* Moving Upload options from "File" menu to "Sketch" menu as those are sketch actions more than file actions. Signed-off-by: Arnav Gupta <[email protected]>
1 parent b414639 commit e2b6d18

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
@@ -75,6 +75,10 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f
7575
## Create output (.bin file)
7676
recipe.objcopy.bin.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
7777

78+
## Save hex
79+
recipe.hex.tmp_file={build.project_name}.bin
80+
recipe.hex.save_file={build.project_name}.{build.variant}.bin
81+
7882
## Compute size
7983
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
8084
recipe.size.regex=\.text\s+([0-9]+).*

0 commit comments

Comments
 (0)