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

RP2040 based board trying to host SD card over SPI #74

Open
Olsen463 opened this issue Jul 3, 2024 · 1 comment
Open

RP2040 based board trying to host SD card over SPI #74

Olsen463 opened this issue Jul 3, 2024 · 1 comment

Comments

@Olsen463
Copy link

Olsen463 commented Jul 3, 2024

https://github.com/rp-rs/rp-hal-boards/blob/main/boards/rp-pico/examples/pico_spi_sd_card.rs

when trying to use example code. The SDCard struct from embedded-sdmmc requires an embedded-hal::spi::SpiDevice however you are giving it a rp2040::Spi<,,_,8>

@9names
Copy link
Member

9names commented Jul 30, 2024

I'm not sure I understand what you're saying.
That example is using embedded-sdmmc 0.5.0, and the arguments used in the example matches what is required for that version of embedded-sdmmc.

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

No branches or pull requests

2 participants