Skip to content

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

Description

@csnol

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions