-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
sw_defined_io: emulated GPIO concept #16393
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
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.
Overall, it looks good. I've marked multiple potential improvements.
1642bdf
to
daaaa9e
Compare
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
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.
LGTM, I just left one minor note.
Done
This will be done in a separate task. |
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.
I've noticed there is still a word "emulated" in a few places. Shouldn't they also be changed? Or is it allowed to use it in terms of GPIO (for example, one of sdiod is emulated GPIO)?
What's wrong with the word "emulated"? For me "emulated GPIO" explains what this software does pretty well. |
fef39d2
to
85d198f
Compare
A simple eGPIO driver has been added. It is to be used as a reference point for adding own SW-defined IO devices. Using it in real usecases does not make much sense. Signed-off-by: Marcin Szymczyk <[email protected]>
Add headers for emulated GPIO driver. Signed-off-by: Marcin Szymczyk <[email protected]>
Add binding for emulated GPIO peripheral. Signed-off-by: Marcin Szymczyk <[email protected]>
Use this snippet to enable emulated GPIO peripheral. Signed-off-by: Marcin Szymczyk <[email protected]>
This code is used by FLPR to emulate GPIO API functionality. Signed-off-by: Marcin Szymczyk <[email protected]>
Add myself as codeowner of SW-defined IO devices code. Signed-off-by: Marcin Szymczyk <[email protected]>
Add those directories to the LL test spec. Signed-off-by: Marcin Szymczyk <[email protected]>
For testing:
zephyr/samples/basic/blinky
) withwest build --pristine always -b [email protected]/nrf54l15/cpuapp -S emulated-gpio
applications/sw_defined_io/gpio
withwest build --pristine always -b [email protected]/nrf54l15/cpuflpr