Skip to content
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

[nrf noup] use -DUSE_PARTITION_MANAGER=1 for lld linker script template #2354

Conversation

tejlmand
Copy link
Contributor

fixup! [nrf noup] tree-wide: support NCS Partition Manager (PM) definitions

@@ -52,6 +52,7 @@ macro(configure_linker_script linker_script_gen linker_pass_define)
-imacros ${AUTOCONF_H}
${current_includes}
${template_script_defines}
-DUSE_PARTITION_MANAGER=$<OR:$<BOOL:${CONFIG_PARTITION_MANAGER_ENABLED}>,$<BOOL:${IMAGE_NAME}>,$<TARGET_EXISTS:partition_manager>>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can optionally be condensed to -DUSE_PARTITION_MANAGER=$<BOOL:${CONFIG_PARTITION_MANAGER_ENABLED}> since this doesn't need to support child/parent and it's currently being removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as you said yourself, parent/child is currently being removed so it's anyhow a short-lived solution, and for that I simply prefer to keep this line aligned with the construct used already in the ld/target.cmake.

… template

fixup! [nrf noup] tree-wide: support NCS Partition Manager (PM) definitions

Signed-off-by: Torsten Rasmussen <[email protected]>
@tejlmand tejlmand force-pushed the issues/569_lld_partition_manager branch from 0704fa5 to df3e860 Compare December 12, 2024 14:33
@carlescufi carlescufi merged commit 79450d1 into nrfconnect:v3.7.99-ncs1-branch Dec 18, 2024
16 checks passed
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.

3 participants