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
//Arduino_UnifiedStorage::debugPrint("[InternalStorage][INFO] Found " + String(lastPartitionNumber) + " partitions, using last partition as internal storage");
//Arduino_UnifiedStorage::debugPrint("[InternalStorage][INFO] Found " + String(lastPartitionNumber) + " partitions, using last partition as internal storage");
16
+
17
+
this -> partitionNumber = lastPartitionNumber;
18
+
this -> fileSystemType = lastPartitionFileSystem;
19
+
this -> partitionName = (char *)"internal";
20
+
this -> blockDevice = BlockDeviceType::get_default_instance();
21
+
this -> mbrBlockDevice = newMBRBlockDeviceType(this -> blockDevice, this->partitionNumber);
Arduino_UnifiedStorage::debugPrint("[Partitioning][readPartitions][INFO] Partition " + String(partitionIndex) + " is formatted with LittleFS file system");
183
-
littleFsProbeFilesystem -> unmount();
184
-
partition.fileSystemType = FS_LITTLEFS;
185
-
partitions.push_back(partition);
186
-
} else {
187
-
Arduino_UnifiedStorage::debugPrint("[Partitioning][readPartitions][INFO] Partition " + String(partitionIndex) + " is not formatted with a recognized file system");
Arduino_UnifiedStorage::debugPrint("[Partitioning][readPartitions][INFO] Partition " + String(partitionIndex) + " is formatted with LittleFS file system");
186
+
littleFsProbeFilesystem -> unmount();
187
+
partition.fileSystemType = FS_LITTLEFS;
188
+
partitions.push_back(partition);
189
+
} else {
190
+
Arduino_UnifiedStorage::debugPrint("[Partitioning][readPartitions][INFO] Partition " + String(partitionIndex) + " is not formatted with a recognized file system");
0 commit comments