Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
csnol opened this issue Oct 1, 2018 · 0 comments
Open

Comments

@csnol
Copy link

csnol commented Oct 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant