Skip to content

Upload .elf file by default for jlink upload method #12

@shlomozippel

Description

@shlomozippel

The current J-Link upload code always uploads the .bin file at offset 0 (if no offset is specified in upload.offset_address). The .elf file contains the correct program offset and JLink flashes the code to the correct location when .elf file is passed in instead of the current default .bin file.

I noticed a similar fix in platform-stm32. This should probably be the default anytime JLink is the upload method

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