File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.obj
5555## Create hex
5656recipe.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
5963recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
6064recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).*
Original file line number Diff line number Diff 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)
7575recipe.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
7882recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
7983recipe.size.regex=\.text\s+([0-9]+).*
You can’t perform that action at this time.
0 commit comments