Skip to content

Consider read-only data when determining where flash starts #92

@pekangas

Description

@pekangas

The current logic to determine flash start address finds the first executable segment and considers that as the start of data that goes into flash. This breaks if the CRT0 header goes into a data segment instead. The easiest fix seems to be to consider all read-only segments, not just executable ones, as flash.

This works for all the use cases I have, but there may be unintended consequences if I missed something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions