Conversation
|
||
// Pin purpose | ||
enum class function | ||
{ |
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.
Is there a task for removing this? we can use SPL definitions in platform code.
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.
Must be covered within #84
Wrappers can be made a lot thinner than current implementation, providing similar to SPL functionality.
Please, open a task for removing GPIO module. We can use SPL directly in platform. |
#84 is created for that purpose. Reason to provide (may be) lighter wrappers is that it can check twisted pin usage and protect integer GPIO parameters from mixing with each other using enum classes. If you don't mind, in the scope of this PR, I'll remove common gpio module as well as |
1st step of removing it completely.
It is redundant at this moment and should be removed
Looks good for me |
/cc @vadimol
Issue: #50