We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e481f5e commit aad3598Copy full SHA for aad3598
src/flashFormatter/FlashFormatterQSPI.h
@@ -10,6 +10,7 @@
10
#include <BlockDevice.h>
11
#include <MBRBlockDevice.h>
12
#include <FATFileSystem.h>
13
+#include <LittleFileSystem.h>
14
15
#if !defined(ARDUINO_PORTENTA_C33)
16
using namespace mbed;
@@ -36,7 +37,12 @@ class FlashFormatterQSPI : public FlashFormatterBase {
36
37
FATFileSystem _otaFS;
38
MBRBlockDevice _kvstoreData;
39
MBRBlockDevice _runtimeData;
40
+#ifdef ARDUINO_OPTA
41
+ // For compatibility with Opta's PLC runtime, use LittleFS
42
+ LittleFileSystem _runtimeFS;
43
+#else
44
FATFileSystem _runtimeFS;
45
+#endif
46
bool _runtimeFormat;
47
};
48
0 commit comments