File tree 2 files changed +8
-0
lines changed
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
55
55
## Create hex
56
56
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
57
57
58
+ ## Save hex
59
+ recipe.output.tmp_file={build.project_name}.hex
60
+ recipe.output.save_file={build.project_name}.{build.variant}.hex
61
+
58
62
## Compute size
59
63
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
60
64
recipe.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
74
74
## Create output (.bin file)
75
75
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"
76
76
77
+ ## Save hex
78
+ recipe.output.tmp_file={build.project_name}.bin
79
+ recipe.output.save_file={build.project_name}.{build.variant}.bin
80
+
77
81
## Compute size
78
82
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
79
83
recipe.size.regex=\.text\s+([0-9]+).*
You can’t perform that action at this time.
0 commit comments