Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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