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

Create Interface from LinuxGpioDriver #2581

Closed
LeStarch opened this issue Mar 12, 2024 · 1 comment
Closed

Create Interface from LinuxGpioDriver #2581

LeStarch opened this issue Mar 12, 2024 · 1 comment
Labels
Easy First Issue An issue that should be straight forward to implement, and easily tested via CI. enhancement Medium Priority

Comments

@LeStarch
Copy link
Collaborator

F´ Version
Affected Component

Feature Description

Make an interface out of Drv/LinuxGpioDriver protocol. See #2255 for an example interface change set.

The following three ports should be pulled out of Drv::LinuxGpioDriver into Svc/Interfaces/GpioInterface.fppi such that other GPIO implementations can use it.

sync input port gpioWrite: Drv.GpioWrite

sync input port gpioRead: Drv.GpioRead

output port intOut: [2] Svc.Cycle

Note: annotations should be added to explain what each port does.

@LeStarch LeStarch added Medium Priority Easy First Issue An issue that should be straight forward to implement, and easily tested via CI. labels Mar 27, 2024
@thomas-bc
Copy link
Collaborator

Implemented by #2943

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy First Issue An issue that should be straight forward to implement, and easily tested via CI. enhancement Medium Priority
Projects
None yet
Development

No branches or pull requests

2 participants