Skip to content

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

Open
@MabezDev

Description

@MabezDev

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.

Metadata

Metadata

Labels

RFCRequest for commentimage-formatIssues relating to one or more binary image formatsstatus:in-progressThis task is currently being worked on

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions