-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Converting ByteStreamDriverModel into an interface #2252
Conversation
dec6b5d
to
00d9b13
Compare
00d9b13
to
92b0a18
Compare
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.
This is really cool! LGTM.
Future work:
- rename *ComponentImpl.(h|c)pp -> *.(h|c)pp
- Revisit file hierarchy: where should port definitions be? (e.g. ByteStreamDriverPorts.fpp)
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.
Looks great!
Just one comment: Why was ByteStreamDriverModel.fpp renamed to ByteStreamDriverPorts.fpp? It defines ports and enums (not just ports), and it's located in a directory called ByteStreamDriverModel. The old name seems better.
Fixed @bocchino's comment, will merge once CI passes! |
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.
Looks good!
Change Description
Allows easier and cleaner implementations by making the
ByteStreamDriverModel
into an interface other components can leverage.