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

Refactor image formatting, and allow supporting new image formats in a backward compatible way #745

Open
MabezDev opened this issue Feb 5, 2025 · 0 comments
Labels
image-format Issues relating to one or more binary image formats RFC Request for comment status:needs-investigation Issue requires further investigation
Milestone

Comments

@MabezDev
Copy link
Member

MabezDev commented Feb 5, 2025

cc: #701

This is quite a complex task, and we'll likely need to iterate a bit with the design here. Currently image formatting, is tightly coupled to the targets, which is then coupled to the flasher module. We need to find a way for elf inputs to be turned into the image format in a more self contained way.

In the meeting, we discussed some kind of API/Abstraction to take CodeSegments as an input, and then depending on the selected image format create an appropriate output. This was just a rough outline, and there is a lot of investigation and iteration needed to come up with a final solution here.

@MabezDev MabezDev added this to the v4 milestone Feb 5, 2025
@github-project-automation github-project-automation bot moved this to Todo in esp-rs Feb 5, 2025
@jessebraham jessebraham added the image-format Issues relating to one or more binary image formats label Feb 6, 2025
@MabezDev MabezDev changed the title Allow supporting new image formats in a backward compatible way Refactor image formatting, and allow supporting new image formats in a backward compatible way Feb 27, 2025
@MabezDev MabezDev added RFC Request for comment status:needs-investigation Issue requires further investigation labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
image-format Issues relating to one or more binary image formats RFC Request for comment status:needs-investigation Issue requires further investigation
Projects
Status: Todo
Development

No branches or pull requests

2 participants