UART Command Parser Time Manager Data Store for SD Card for stm32l476 [it's not Licensed as BSD/GPLx]
Dependencies: mbed SDFileSystem
Diff: common/SDDataStore.cpp
- Revision:
- 6:81a3d517fd56
- Parent:
- 5:a37e3a15444b
- Child:
- 7:9ab8809f9693
diff -r a37e3a15444b -r 81a3d517fd56 common/SDDataStore.cpp --- a/common/SDDataStore.cpp Wed Apr 24 02:34:51 2019 +0000 +++ b/common/SDDataStore.cpp Thu May 09 00:06:21 2019 +0000 @@ -3,7 +3,8 @@ /* constructor, pSD, TimeManager */ SDDataStore::SDDataStore(TimeManager *pSetTM) { - pS = new SDFileSystem(D11, D12, D13, D4, "sd"); // MOSI, MISO, SCK, CS; + //pS = new SDFileSystem(D11, D12, D13, D4, "sd"); // MOSI, MISO, SCK, CS; + pS = new SDFileSystem(PC_12, PC_11, PC_10, D4, "sd"); // MOSI, MISO, SCK, CS; pT = pSetTM; fpCurrent = NULL; fnameCurrent[0] = '\0';