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

AP_HAL_ESP32: add control options to UART driver #28721

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

srmainwaring
Copy link
Contributor

@srmainwaring srmainwaring commented Nov 24, 2024

Work in progress to add control options to the esp32 UART driver.

The esp32 UARTs support line inversion and half-duplex

Motivation

  • Support RC protocols such as FPort / SPort that require half-duplex and level inversion

davidbuzz and others added 15 commits November 24, 2024 07:56
- Use underscore prefix for private member variables.
- Replace all instances of uart_num with _serial_num.
- Rename table uart_drivers to serial_drivers.
- Only override the protected member _begin().
- Comment console debug print in _begin().

Signed-off-by: Rhys Mainwaring <[email protected]>
@srmainwaring srmainwaring marked this pull request as draft November 24, 2024 14:17
@srmainwaring srmainwaring force-pushed the prs/pr-esp32-uart-options branch from c1388a6 to 671dff2 Compare November 24, 2024 14:30
@davidbuzz davidbuzz self-requested a review December 10, 2024 23:44
@davidbuzz
Copy link
Collaborator

is this PR ready to be reviewed, or is it still wip/draft.?

@srmainwaring
Copy link
Contributor Author

is this PR ready to be reviewed, or is it still wip/draft.?

Still draft.

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

Successfully merging this pull request may close these issues.

2 participants