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 8c27fdeCopy full SHA for 8c27fde
src/flashFormatter/FlashFormatterQSPI.h
@@ -10,6 +10,9 @@
10
#include <BlockDevice.h>
11
#include <MBRBlockDevice.h>
12
#include <FATFileSystem.h>
13
+#ifdef ARDUINO_OPTA
14
+#include <LittleFileSystem.h>
15
+#endif
16
17
#if !defined(ARDUINO_PORTENTA_C33)
18
using namespace mbed;
@@ -36,7 +39,12 @@ class FlashFormatterQSPI : public FlashFormatterBase {
36
39
FATFileSystem _otaFS;
37
40
MBRBlockDevice _kvstoreData;
38
41
MBRBlockDevice _runtimeData;
42
43
+ // For compatibility with Opta's PLC runtime, use LittleFS
44
+ LittleFileSystem _runtimeFS;
45
+#else
46
FATFileSystem _runtimeFS;
47
48
bool _runtimeFormat;
49
};
50
0 commit comments