Skip to content

Async RMT #787

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

Merged
merged 3 commits into from
Sep 13, 2023
Merged

Async RMT #787

merged 3 commits into from
Sep 13, 2023

Conversation

bjoernQ
Copy link
Contributor

@bjoernQ bjoernQ commented Sep 12, 2023

This adds async support for RMT. For now, it doesn't support wrap-mode - if we want that we should add that in a separate PR

It also fixes general RMT-RX (was broken after some refactorings)

It was necessary to pin toml_edit (transitive dependency) because they bumped their MSRV in 0.19.15

Once we agree on 1.66.0 as the MSRV we can unpin / remove the dependency

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

1.66 is nearly a year old, so I don't see a reason not to bump msrv. Maybe we should discuss a CURRENT_VERSION - 1 model for MSRV at some point, so we can just bump whenever we need to.

LGTM though, happy to be merged in this form or with the MSRV change.

Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

LGTM, examples seem to work fine on my end as well.

@bjoernQ
Copy link
Contributor Author

bjoernQ commented Sep 13, 2023

Thanks for the reviews! I will create a separate issue to align on the MSRV and merge this as is

@bjoernQ bjoernQ merged commit a642ee4 into esp-rs:main Sep 13, 2023
@bjoernQ bjoernQ deleted the feature/async-rmt branch September 13, 2023 07:02
@bjoernQ bjoernQ mentioned this pull request Sep 13, 2023
SergioGasquez pushed a commit to SergioGasquez/esp-hal that referenced this pull request Sep 22, 2023
* Async RMT

* Add CHANGELOG item

* Pin toml_edit transitive dependency
playfulFence pushed a commit to playfulFence/esp-hal that referenced this pull request Sep 26, 2023
* Async RMT

* Add CHANGELOG item

* Pin toml_edit transitive dependency
tschundler added a commit to tschundler/esp-hal that referenced this pull request Jul 13, 2024
Trying to address the 64 symbol limit in esp-rs#1779.
Having troubles, I tried disabling the interrupts so it just polls the device,
but the transmission never actually starts until I reset the controller.
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.

3 participants