mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 01:04:30 +01:00
2
Adding an SD card
steinwedel edited this page 2023-08-13 09:44:13 +02:00
This guide is for adding ad SD card to a Nano AP. I will use this module: 
-
In the platformio.ini, change the 'board_build.partitions' esp32_sdcard.csv.
-
Add to the build_flags -D HAS_SDCARD
-D USE_SOFTSPI
-D SD_CARD_SS=11
-D SD_CARD_CLK=9
-D SD_CARD_MISO=8
-D SD_CARD_MOSI=10
If you build it now, you'll get an error message. We need to change one more thing.
- In the storage.cpp, row 22 (at the time of writing with the 1.8 and 1.9 version), change 'VSPI' to 'HSPI'.
- Now upload as usual.
For the hardware side, solder the wires. Format the SD card and it should work!
