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

elf files for bootloaders #521

Open
zemanj opened this issue Jan 25, 2023 · 1 comment
Open

elf files for bootloaders #521

zemanj opened this issue Jan 25, 2023 · 1 comment

Comments

@zemanj
Copy link

zemanj commented Jan 25, 2023

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?

@MCUdude
Copy link

MCUdude commented Jun 14, 2023

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
Projects
None yet
Development

No branches or pull requests

3 participants