Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nereuxofficial/esp-sdcard

An example for using an ESP32 to read an SD-Card with no-std Rust
https://github.com/nereuxofficial/esp-sdcard

embedded esp32 no-std rust sdcard

Last synced: 2 months ago
JSON representation

An example for using an ESP32 to read an SD-Card with no-std Rust

Awesome Lists containing this project

README

        

# esp-sdcard
This is an example of how to use an SD Card using no-std Rust on an ESP32.

## Wiring
1. GND to GND
2. 5V to VCC
3. MISO to GPIO2
4. MOSI to GPIO15
5. SCK to GPIO14
6. CS to GPIO13
When flashing the ESP32, you need to disconnect the SD Card from the ESP32.

## Usage
1. Install [espup](https://github.com/esp-rs/espup)
2. Run `espup install` and follow its instructions
3. Install [espflash](https://github.com/esp-rs/espflash/)
4. Run `cargo run`
Your output should be similar to this:
```
I (240) boot: Disabling RNG early entropy source...
SPI initialized. Initializing SD-Card...
Card size is 8069840896 bytes
Volume 0: Volume(SearchId(5000))
INFO - Logger is setup
Hello world!
Loop...
Loop...
```