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

Multiplexed signal implementation #33

Merged
merged 27 commits into from
Apr 15, 2021
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9d7c103
Start multiplexed signal implementation
marcelbuesing Mar 25, 2021
6d1f71b
Avoid debug fields for multiplexed signals
marcelbuesing Mar 26, 2021
d8cb3ab
Add lifetimes to enum structs
marcelbuesing Mar 26, 2021
8f90116
Fix lifetimes
marcelbuesing Mar 26, 2021
7b8e344
Include message name in enum name
marcelbuesing Mar 27, 2021
628974b
Render multiplexed signals
marcelbuesing Mar 27, 2021
172bbaf
Exchange HashSet, BtreeMap for BTreeSet, BTreeMap
marcelbuesing Apr 12, 2021
c619171
Update generated output
marcelbuesing Apr 12, 2021
e2d4cff
Shorten multiplexed enum variant name
marcelbuesing Apr 12, 2021
f3a2cc0
Update cantools generated code after dbc update
marcelbuesing Apr 12, 2021
689f4dc
Add missing newlines
marcelbuesing Apr 12, 2021
3f8ed45
Add switch index to generated multiplexed enum
marcelbuesing Apr 12, 2021
8f0d4c5
Extract multiplexor signal rendering
marcelbuesing Apr 12, 2021
1a3077f
Extract signal setter render fn
marcelbuesing Apr 12, 2021
1abdffc
Add _raw suffix to signal setters
marcelbuesing Apr 12, 2021
4c924ad
Add setters for multiplexed signals
marcelbuesing Apr 12, 2021
04cc40b
Revert "Add _raw suffix to signal setters"
marcelbuesing Apr 13, 2021
2599500
Exchange raw ref for owned type in multiplexer
marcelbuesing Apr 13, 2021
c47d708
Remove returning mut ref in setters
marcelbuesing Apr 13, 2021
d0573d3
Cleanup clippy warnings
marcelbuesing Apr 13, 2021
28c33d8
Add cantools multiplexer packing test
marcelbuesing Apr 13, 2021
863116a
Make multiplexor setter private
marcelbuesing Apr 13, 2021
d04d362
Return error on unknown multiplexor value
marcelbuesing Apr 13, 2021
1ab3a37
Add multiplexor value to error
marcelbuesing Apr 14, 2021
8dea322
Replace or_insert with or_insert_with
marcelbuesing Apr 14, 2021
e495937
Derive Default fur multiplexed structs
marcelbuesing Apr 14, 2021
c335bdf
Remove MULTIPLEXED_SWITCH_INDEX associated constant
marcelbuesing Apr 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading