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: RCOutput ported to new mcpwm driver #28370

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

arg7
Copy link
Contributor

@arg7 arg7 commented Oct 10, 2024

Ported RCOutput code to new MCPWM driver

Best regards,
A. Romanov

@davidbuzz
Copy link
Collaborator

What's wrong with the old code that it needed all these changes?

@arg7
Copy link
Contributor Author

arg7 commented Oct 11, 2024

Old driver was deprecated and will be removed in next idf 6.x release.

I don't like new driver, it hides actual hardware implementation too much, to my taste. And much more verbose.

The only positive is that it is possible to use one timer for group of six rc out pins, so they work synchronized and may consume less power.

Copy link
Collaborator

@davidbuzz davidbuzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@peterbarker peterbarker merged commit a6f00a3 into ArduPilot:master Oct 27, 2024
7 checks passed
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.

3 participants