Skip to content

linker: Use zephyr,code-partition value (alt) #92038

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nordicjm
Copy link
Contributor

No description provided.

tomchy and others added 3 commits June 23, 2025 14:37
Enforce usage of values from devicetree if USE_DT_CODE_PARTITION Kconfig
symbol is enabled.

Currently even if this symbol is enabled, the FLASH_LOAD_OFFSET value
is used in the linker script.
The FLASH_LOAD_OFFSET symbol, even being promptless is such case,
may be changed, leading to a very confusing situation, where devicetree
 values have no effect on the build.

A good example of the build that wants to use exactly the same set of
 configs, but a different link address is the A/B update scheme
(known ad Direct XIP in MCUboot), where the same application is linked
to two different addresses.
If the source of the address remains in the Kconifg, the current approach
forces a usage of two different configurations.

Signed-off-by: Tomasz Chyrowicz <[email protected]>
test

Signed-off-by: Jamie McCrae <[email protected]>
Replaces using an odd mix of Kconfig dts for partition offsets with
just use dts for non-secure board targets

Signed-off-by: Jamie McCrae <[email protected]>
Copy link

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants