Closed Alexander89 closed 2 years ago
Sorry, I'm having trouble reproducing this issue. I took the SPI example, and it seems OK. Given your snippet, it seems that pins 34 and 35 are swapped. Could you confirm that the pins are passed into build
as expected? Or, could you share all of your code?
I'm so sorry, to open this issue and waste your time.
It works in another project. as you said, but something is wrong with my project and I still didn't figure it out. Let's dig deeper.
No problem! Reach out here, or in discussions, if you have any other questions.
Describe the bug
I'm trying to build a SPI1 interface. It appears straightforward at first glance, But the compiler refuses my code with the error:
I tried all pins :see_no_evil: , but no one is working.
To Reproduce It is simple to reproduce. Use the SPI example and turn it into the SPI1
Additional context The pins docs are great at the master branch, but It would be awesome If you could publish the teensy-pins crate (and add pin 48-54 as well). I like to add an SD card to my project later. I hope I'll come up with something generic and contribute to this project.