stevstrong
stevstrong
Insert `#define ENABLE_SDIO_CLASS 1` here: https://github.com/greiman/SdFat/blob/7417ee943ccebbaf27f51042e2b3ae41e9defa45/src/SdFatConfig.h#L213
Do you use Arduino IDE? Alternatively, try other SDIO example from Greiman' repo.
I don't know. Victor ported the SDIO lib from F4 (which only supports 4bit bus width) to F1 and made some modifications on that.
You must be missing some installation detail if SDIo is not recognized.
That fork of Victor is very old. You should use the original one or my one.
Please revise your installation directories. Where do you put the SdFat lib?
Try to compile for Generic STM32F103C (blue pill). Double check the SdFat config file and be sure that the right headers are included in the sketch.
This is because the core you are using does not have that specific SPI function. I recommend you to take SPI lib from my repo. Or even better, take my...
Installation procedure: https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Installation For the ZIP file containing the STM32 files download use this link: https://github.com/stevstrong/Arduino_STM32/archive/master.zip
OK, I see that my repo differs a lot from the original repo, so I suggest you to get the original repo and replace only the SPI lib files from...