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 Host CDC #1809

Merged
merged 28 commits into from Dec 22, 2022
Merged

Support Host CDC #1809

merged 28 commits into from Dec 22, 2022

Conversation

hathach
Copy link
Owner

@hathach hathach commented Dec 22, 2022

Describe the PR
This PR add support for Host CDC along with a new endpoint stream API, which can be used by both device/host for buffered bulk endpoint such as cdc/midi/vendor.

start adding cdc_app.c to example
add CDC_CONTROL_LINE_STATE_DTR/RTS, TUSB_INDEX_INVALID enum
TODO: first character seems not to get echoed. set control line state
seems to failed with LOG < 2
tuh_cdc_write_available(), tuh_cdc_read_flush(), tuh_cdc_rx_cb()
callback
@hathach hathach merged commit 2777df4 into master Dec 22, 2022
@hathach hathach deleted the host-cdc branch December 22, 2022 14:29
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.

None yet

1 participant