Skip to content

changed(spi): Remove explicit flushes from SpiBus impl #800

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 1 commit into from
Dec 6, 2024

Conversation

jbeaurivage
Copy link
Contributor

@jbeaurivage jbeaurivage commented Dec 6, 2024

Summary

Removes explicit flushes from SpiBus implementation, allowing for better pipelining of SPI transactions while still adhering to the embedded-hal spec.

Incidentally, also makes neopixels work again with the SPI peripheral (in release mode, and when DMA is not enabled) - tested on a Metro M4.

Checklist

  • All new or modified code is well documented, especially public items
  • No new warnings or clippy suggestions have been introduced

@sajattack sajattack merged commit 8243da6 into atsamd-rs:master Dec 6, 2024
111 checks passed
@jbeaurivage jbeaurivage deleted the spi-flushing branch December 6, 2024 18:44
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