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

Refactor the Trace driver to be generic around its peripheral #1140

Merged
merged 4 commits into from
Feb 6, 2024

Conversation

jessebraham
Copy link
Member

While the ESP32-C6/H2 both contain a single TRACE peripheral, the ESP32-P4 contains TRACE0 and TRACE1. In preparation of supporting both of these, I have renamed the C6/H2's peripheral to TRACE0 and refactored the driver to be generic around its peripheral.

@jessebraham jessebraham requested a review from bjoernQ February 5, 2024 19:14
Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM - still works fine

@bjoernQ bjoernQ added this pull request to the merge queue Feb 6, 2024
Merged via the queue into esp-rs:main with commit 0f12654 Feb 6, 2024
17 checks passed
@jessebraham jessebraham deleted the refactor/trace branch February 6, 2024 14:50
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