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

Support multi-session GPIO #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

twasilczyk
Copy link

I'm not entirely sure about the logic around SET_BITS_HIGH. Especially that I don't have hardware to verify how the low bits operate with this change. Please treat this as a PoC change suggestion that we can work on.

twasilczyk and others added 2 commits April 16, 2021 11:40
Verified with FT4232H Mini Module.
This allows implementing command-line tools that leave GPIO state
after terminating themselves.

This is a modified version of a change authored by
Huihong Luo <[email protected]>
@twasilczyk
Copy link
Author

While I was able to fix low bits state, then this is still a PoC: I'm pretty sure pstart logic is broken with this change. I guess it should require setting only GPIO bits and leaving UART part as default. I didn't check concurrent GPIO + UART usage.

@l29ah
Copy link
Owner

l29ah commented May 18, 2021

We would need to make separate functions for reset-less open and close for compatibility. Otherwise looks good. Sadly, apparently i don't have an use case for such functionality yet, so can't improve/test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants