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

early prototyping #11

Closed

Conversation

tejlmand
Copy link

early prototyping presenting the rough idea.

Introduce a configure_cache function which allows to update the CMake
cache file of an image when the cache file contains variable values
of the form:
<VAR>:<TYPE>=...@VAR_NAME_TO_UPDATE@...

This allows an image to store a CMake variable in the cache and have
sysbuild replace such var with correct value during later sysbuild
CMake stage.

As practical example, this allows anm image to specify a partition
manager variable, such as PM_<image>_SIZE, and continue.
When partition manager has completed, then the variable will be updated
with correct value.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
@tejlmand tejlmand requested a review from nordicjm as a code owner October 12, 2023 14:31
@tejlmand tejlmand force-pushed the sysbuild_app_start_p2 branch 2 times, most recently from 14bc3e1 to 668c964 Compare October 13, 2023 08:31
This commit stores a partition manager variable reference in the CMake
cache, so that sysbuild can update with correct value after partition
manager has completed.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
@tejlmand tejlmand force-pushed the sysbuild_app_start_p2 branch from 668c964 to c4bb06c Compare October 13, 2023 08:54
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 Dec 13, 2023
@github-actions github-actions bot closed this Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant