scripts: gen-uuid-reg.py: Generate string identifier for toml files#9799
Merged
kv2019i merged 1 commit intothesofproject:mainfrom Feb 7, 2025
Merged
scripts: gen-uuid-reg.py: Generate string identifier for toml files#9799kv2019i merged 1 commit intothesofproject:mainfrom
kv2019i merged 1 commit intothesofproject:mainfrom
Conversation
serhiy-katsyuba-intel
approved these changes
Jan 27, 2025
tmleman
approved these changes
Jan 27, 2025
lyakh
reviewed
Jan 28, 2025
Extend the script that generates the uuid-registry.h file to also generate definitions containing the uuid as a string. These definitions (UUIDREG_STR_...) can be used in toml files, allowing get values from the uuid-registry. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
332c6ce to
a03b676
Compare
lyakh
approved these changes
Jan 30, 2025
Collaborator
Author
|
SOFCI TEST |
Collaborator
Author
|
@kv2019i I didn't express myself clearly in the PR description. The change from Zephyr's side is not required before merging this PR. It was initially thought to be necessary for the entire functionality to work. Can we proceed with merging this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend the script that generates the
uuid-registry.hfile to also generate definitions containing the uuid as a string. These definitions (UUIDREG_STR_...) can be used in toml files, allowing get values from the uuid-registry.After merge,
uuid-registry.hwill contain following entries:For example, following toml file fragment:
will be possible to change to:
Require update
sign.pyon Zephyrs side: zephyrproject-rtos/zephyr#84615