File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,18 +65,18 @@ recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.S.flags} -mmcu={b
65
65
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}"
66
66
67
67
## Combine gc-sections, archives, and objects
68
- recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" {object_files} "{build.path}/{archive_file}" "-L{build.path}" -lm
68
+ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} {compiler.c.elf.extra_flags} -o "{build.path}/sketch/ {build.project_name}.elf" {object_files} "{build.path}/{archive_file}" "-L{build.path}" -lm
69
69
70
70
## Create output files (.eep and .hex)
71
- recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.objcopy.eep.flags} {compiler.objcopy.eep.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.eep"
72
- recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
71
+ recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.objcopy.eep.flags} {compiler.objcopy.eep.extra_flags} "{build.path}/sketch/ {build.project_name}.elf" "{build.path}/sketch /{build.project_name}.eep"
72
+ recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/sketch/ {build.project_name}.elf" "{build.path}/sketch /{build.project_name}.hex"
73
73
74
74
## Save hex
75
75
recipe.output.tmp_file={build.project_name}.hex
76
76
recipe.output.save_file={build.project_name}.{build.variant}.hex
77
77
78
78
## Compute size
79
- recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
79
+ recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/sketch/ {build.project_name}.elf"
80
80
recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).*
81
81
recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
82
82
recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
You can’t perform that action at this time.
0 commit comments