Skip to content

mimxrt1011: Only re-init SPI when it's actually needed #2747

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
Apr 6, 2020

Conversation

arturo182
Copy link
Collaborator

If some crazy code (cough FourWire) decides to reconfigure the bus
before every transfer, it might get a bit slow...

If some crazy code (*cough* FourWire) decides to reconfigure the bus
before every transfer, it might get a bit slow...
@arturo182 arturo182 added the mimxrt10xx iMX RT based boards such as Teensy 4.x label Apr 6, 2020
@arturo182 arturo182 requested a review from tannewt April 6, 2020 20:34
@arturo182
Copy link
Collaborator Author

@tannewt
Copy link
Member

tannewt commented Apr 6, 2020

@arturo182 This has been happening a bunch. It isn't your fault. I'll try to rerun it.

Copy link
Member

@tannewt tannewt 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!

@tannewt
Copy link
Member

tannewt commented Apr 6, 2020

Oh, and it isn't crazy. The bus could be shared with another device with different parameters.

@tannewt
Copy link
Member

tannewt commented Apr 6, 2020

Merging. I spot compiled two mimx boards and they compiled just fine.

@tannewt tannewt merged commit 2900d92 into adafruit:master Apr 6, 2020
@arturo182 arturo182 deleted the imx-spi-init-check branch April 6, 2020 20:54
@arturo182
Copy link
Collaborator Author

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mimxrt10xx iMX RT based boards such as Teensy 4.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants