I am using STM32F103C8 and I am triing to compile a code with SDFat library. The problem is I need to use the second channel of the SPI1 (pins PB5,PB4,PB3, PA15):
I found out that is possible to use SDFat lib and include SPIClass inside its constructor. Then I could use this code:
SPIClass SPI_1(PB5,PB4,PB3, PA15);
SdFat sd(&SPI_1);
The problem is this compliation error:
no matching function for call to 'SdFat::SdFat(SPIClass*)'
Do you have any idea how to solve this error or how to work with SD card on different pins?
Here is source code of this library: https://github.com/greiman/SdFat/blob/master/src/SdFat.h