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

[HWCDC] Improve HW CDC Implementation #5643

Merged
merged 7 commits into from
Sep 15, 2021
Merged

[HWCDC] Improve HW CDC Implementation #5643

merged 7 commits into from
Sep 15, 2021

Conversation

me-no-dev
Copy link
Member

@me-no-dev me-no-dev commented Sep 8, 2021

This pull request contains a few fixes and improvements to the HWCDC implementation.

  • Rework HWCDC::write() to accept unlimited data
  • Add Semaphore to guard the TX Ring Buffer
  • Add events support
  • Remove unnecessary 1200bps touch for flashing over HWCDC
  • Fix HardwareSerial::setDebugOutput() not resetting putc if the port is already selected, causing debug output to also show on HWCDC even when not selected.

@me-no-dev me-no-dev changed the title [HWCDC] make sure that ISR is running and will pick up any leftover data [HWCDC] Improve HW CDC Implementation Sep 15, 2021
@me-no-dev me-no-dev merged commit 078671d into master Sep 15, 2021
@me-no-dev me-no-dev deleted the bugfix/hwcdc_flush branch September 15, 2021 16:37
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.

1 participant