-
Notifications
You must be signed in to change notification settings - Fork 41
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
zcbor.py: Add support for unordered maps in generated code #425
Open
oyvindronningstad
wants to merge
3
commits into
NordicSemiconductor:main
Choose a base branch
from
oyvindronningstad:map-search-py
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
zcbor.py: Add support for unordered maps in generated code #425
oyvindronningstad
wants to merge
3
commits into
NordicSemiconductor:main
from
oyvindronningstad:map-search-py
Conversation
This file contains 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
oyvindronningstad
force-pushed
the
map-search-py
branch
2 times, most recently
from
May 2, 2024 10:42
10152df
to
36e9986
Compare
oyvindronningstad
requested review from
hakonfam,
sigvartmh,
karstenkoenig,
jonathannilsen and
anhmolt
May 2, 2024 10:42
oyvindronningstad
force-pushed
the
map-search-py
branch
2 times, most recently
from
May 8, 2024 08:41
f32fa46
to
087ba75
Compare
oyvindronningstad
force-pushed
the
map-search-py
branch
from
July 26, 2024 13:41
087ba75
to
784c7c2
Compare
oyvindronningstad
force-pushed
the
map-search-py
branch
8 times, most recently
from
August 21, 2024 11:44
40b1e6b
to
60ba45c
Compare
oyvindronningstad
force-pushed
the
map-search-py
branch
from
September 27, 2024 11:42
60ba45c
to
1f2aa22
Compare
@oyvindronningstad Any traction here? Will we get this for NCS 2.8? |
darkofc
reviewed
Oct 22, 2024
oyvindronningstad
force-pushed
the
map-search-py
branch
2 times, most recently
from
November 15, 2024 11:22
2d99eec
to
0fe723f
Compare
when updating RELEASE_NOTES and MIGRATION_GUIDE. Instead use specified boilerplate when constructing the new entry. Fix duplicated MIGRATION_GUIDE entry. Signed-off-by: Øyvind Rønningstad <[email protected]>
To allow for adding member variables in the future. Add some tests for macros Signed-off-by: Øyvind Rønningstad <[email protected]>
oyvindronningstad
force-pushed
the
map-search-py
branch
from
December 4, 2024 14:33
0fe723f
to
9c305b4
Compare
darkofc
reviewed
Dec 5, 2024
zcbor/zcbor.py
Outdated
@@ -3019,7 +3143,7 @@ def relativify(p): | |||
target_include_directories({target_name} PUBLIC | |||
{(linesep + " ").join(((str(relativify(f)) for f in include_dirs)))} | |||
) | |||
""" | |||
{f"\n{smart_search}\n" if add_smart_search else ''}""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: The use of backslashes in the formatted string doesn't work on version 3.10 python - forced me to update python to pickup this change.
oyvindronningstad
force-pushed
the
map-search-py
branch
2 times, most recently
from
December 10, 2024 12:39
c41c056
to
26f2074
Compare
Add support for the --unordered-maps option to zcbor code which makes use of the zcbor_unordered_maps_*() API in generated code. Signed-off-by: Øyvind Rønningstad <[email protected]>
oyvindronningstad
force-pushed
the
map-search-py
branch
from
December 10, 2024 13:03
26f2074
to
6ee1278
Compare
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.
Add support for the --unordered-maps option to zcbor code
which makes use of the zcbor_unordered_maps_*() API in generated code.
Fixes #411