Skip to content

elf files for bootloaders #521

Open
Open
@zemanj

Description

@zemanj

It's helpful to have the production bootloader *.hex files in the repo, however, what I am missing right now are the corresponding *.elf files.

Knowing the addresses of the symbols defined in a bootloader from its elf file would allow accessing SPM functionality directly from within a sketch (e.g., for writing flash memory pages etc.).

Would it be possible to include those files in the repo?

Activity

MCUdude

MCUdude commented on Jun 14, 2023

@MCUdude

The Optiboot bootloader that Arduino boards are shipped with doesn't have any "write-to-flash-from-user-application" functionality, so providing elf files wouldn't help you here. However, 3rd party Arduino cores usually use newer bootloaders that have this kind of functionality, for instance, MiniCore.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      elf files for bootloaders · Issue #521 · arduino/ArduinoCore-avr