Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/flashFormatter/FlashFormatterQSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
#include <BlockDevice.h>
#include <MBRBlockDevice.h>
#include <FATFileSystem.h>
#ifdef ARDUINO_OPTA
#include <LittleFileSystem.h>
#endif

#if !defined(ARDUINO_PORTENTA_C33)
using namespace mbed;
Expand All @@ -36,7 +39,12 @@ class FlashFormatterQSPI : public FlashFormatterBase {
FATFileSystem _otaFS;
MBRBlockDevice _kvstoreData;
MBRBlockDevice _runtimeData;
#ifdef ARDUINO_OPTA
// For compatibility with Opta's PLC runtime, use LittleFS
LittleFileSystem _runtimeFS;
#else
FATFileSystem _runtimeFS;
#endif
bool _runtimeFormat;
};

Loading