You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i move/rename file from a FS FFat or LittleFS to SD the operation is not completed correctly.
The file still remain in the original path but the extension loss last two character.
Ex:
Active filesystems are: 0: Flash/LittleFS 1: SD-Card .
rename from LittleFS to SD of file in "0:/newfile0.txt" in this path "1:/newfile0.txt", the file is not moved in SD, still remain in the root of LittleFS, but the extension whas truncated from".txt" to ".t"
When i try to move from SD to FFat or LittleFS the file is moved but the extension whas truncated.
Ex:
Active filesystems are: 0: Flash/LittleFS 1: SD-Card .
rename from SD to LittleFS of file in "1:/newfile0.txt" in this path "0:/newfile0.txt", the file is correctly moved in LittleFS, but the extension whas truncated from".txt" to ".t"
Platform ESP32 wroom-32.
code used for add LittleFS:
if (LittleFS.begin()) { // Inizializzazione di LittleFS
if (!filemgr.AddFS(LittleFS, "Flash/LittleFS", false)) { // Aggiungi LittleFS al File Manager
Serial.println(F("Adding LittleFS failed.")); // Messaggio di errore se fallisce
} else {
Serial.println(F("LittleFS added successfully.")); // Conferma se è stato aggiunto correttamente
}
} else {
Serial.println(F("LittleFS File System not inited.")); // Errore se LittleFS non è stato inizializzato correttamente
}
yes! it work!
But now when i try to edit a .txt file, the "save" function didn' work, still remain "in progress" and is impossible to close the "edit window"; it appen in all type of file system.
Sometime a 6dot 2columns*3row appear on the screen.
When i move/rename file from a FS FFat or LittleFS to SD the operation is not completed correctly.
The file still remain in the original path but the extension loss last two character.
Ex:
Active filesystems are: 0: Flash/LittleFS 1: SD-Card .
rename from LittleFS to SD of file in "0:/newfile0.txt" in this path "1:/newfile0.txt", the file is not moved in SD, still remain in the root of LittleFS, but the extension whas truncated from".txt" to ".t"
When i try to move from SD to FFat or LittleFS the file is moved but the extension whas truncated.
Ex:
Active filesystems are: 0: Flash/LittleFS 1: SD-Card .
rename from SD to LittleFS of file in "1:/newfile0.txt" in this path "0:/newfile0.txt", the file is correctly moved in LittleFS, but the extension whas truncated from".txt" to ".t"
Platform ESP32 wroom-32.
code used for add LittleFS:
if (LittleFS.begin()) { // Inizializzazione di LittleFS
if (!filemgr.AddFS(LittleFS, "Flash/LittleFS", false)) { // Aggiungi LittleFS al File Manager
Serial.println(F("Adding LittleFS failed.")); // Messaggio di errore se fallisce
} else {
Serial.println(F("LittleFS added successfully.")); // Conferma se è stato aggiunto correttamente
}
} else {
Serial.println(F("LittleFS File System not inited.")); // Errore se LittleFS non è stato inizializzato correttamente
}
code used for add SD FS:
#define SD_CLK 13
#define SD_MISO 33
#define SD_MOSI 15
#define SD_CS 32
SPIClass spiSD(VSPI);
spiSD.begin(SD_CLK, SD_MISO, SD_MOSI, SD_CS);
if(SD.begin(SD_CS, spiSD)){
if (!filemgr.AddFS(SD, "SD-Card", false)) {
Serial.println(F("Adding SD failed."));
}
Serial.println(F("SD added successfully"));
} else {
Serial.println(F("SD File System not inited."));
}
(you have made a GREAT job!)
Regards!
The text was updated successfully, but these errors were encountered: