I want to use SD.h in platformIO for maixduino board but SD.begin(29); return false.
after search in code I found that SPI object (SPIClass SPI) that SD.h use for handle sd card has been launched with SPI1 by default:
and I think edit "Maix_SPI.cpp" from:
to:
I want to use SD.h in platformIO for maixduino board but SD.begin(29); return false. after search in code I found that SPI object (SPIClass SPI) that SD.h use for handle sd card has been launched with SPI1 by default:
and I think edit "Maix_SPI.cpp" from:
to:
![image](https://user-images.githubusercontent.com/96906718/224472631-7508f5c2-5f40-4198-a899-691b6994ab47.png)
now SD.begin(); return True.![image](https://user-images.githubusercontent.com/96906718/224472710-adf0508b-d69b-4298-9795-ff727f5ba67e.png)
is my work correct? is it safe?