Skip to content

Normalize position-independent FLM offsets to the code origin - #2090

Open
Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/nonzero-flm-code-origin
Open

Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/nonzero-flm-code-origin

Conversation

@Solarboaters

Copy link
Copy Markdown

Addresses #1459: accept position-independent FLMs linked at a nonzero code origin by making section and entry-point offsets relative to that origin.

Tests rebase two existing FLM fixtures to 0xc000 and 0x20000000; generated instruction bytes, entry points, allocation dictionaries and generator output match their zero-origin equivalents. Original: 6 failures/2 passes; fixed: 8 passes. Full unit suite: 1,115 passed, 41 skipped.

Linux software tests only; the reporter’s original FLM and physical flash programming were not tested. AI-assisted implementation and tests, reviewed against the before/after results.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant