nRF5x icon indicating copy to clipboard operation
nRF5x copied to clipboard

[For nRF52832] Can't save hex, it's needed change 2 lines in platform.txt

Open csnol opened this issue 7 years ago • 0 comments

The {build.project_name}_OTA.hex never been created. So I can't got output file in sketch folder.

## Create hex
recipe.objcopy.hex1.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flagx} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"

## Save hex
recipe.output.tmp_file={build.project_name}_OTA.hex
recipe.output.save_file={build.project_name}.{build.variant}.hex

maybe should be change to {build.project_name}.hex and output file add "_OTA",the file be created in my sketch folder.

recipe.output.tmp_file={build.project_name}.hex
recipe.output.save_file={build.project_name}.{build.variant}_OTA.hex

That's all.

csnol avatar Oct 01 '18 13:10 csnol