Skip to content

Commit d208cb7

Browse files
committed
1 parent 684c36a commit d208cb7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

digistump-avr/platform.txt

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.obj
5555
## Create hex
5656
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
5757

58+
## Save hex
59+
recipe.output.tmp_file={build.project_name}.hex
60+
recipe.output.save_file={build.project_name}.{build.variant}.hex
61+
5862
## Compute size
5963
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
6064
recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).*

digistump-sam/platform.txt

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f
7474
## Create output (.bin file)
7575
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"
7676

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

0 commit comments

Comments
 (0)