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

Document Keil flash algo ELF section requirements #1114

Open
flit opened this issue Jan 30, 2021 · 0 comments
Open

Document Keil flash algo ELF section requirements #1114

flit opened this issue Jan 30, 2021 · 0 comments

Comments

@flit
Copy link
Contributor

flit commented Jan 30, 2021

The flash algorithm documentation does not explicitly document requirements for ELF sections; they are only documented implicitly through the flash algo template.

The assumption is that these ELF sections are required:

  • PrgCode for all RO input sections (.text, .rodata)
  • PrgData, zero or more for RW and ZI input sections (.data and .bss)
  • DevDescr containing the FlashDevice symbol.

The requirements for the Keil flash algo format need to be documented thoroughly enough that someone can build an algo using any toolchain, starting from scratch.

These questions came up in relation to rp-rs/flash-algo#6, in the project for the Raspberry Pi Pico flash algo.

@ghost ghost self-assigned this Feb 3, 2021
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

2 participants