summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py/mpconfig.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index d478c654d..b8cc61b2a 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -920,15 +920,25 @@ typedef double mp_float_t;
#endif
// Support for VFS POSIX component, to mount a POSIX filesystem within VFS
-#ifndef MICROPY_VFS
+#ifndef MICROPY_VFS_POSIX
#define MICROPY_VFS_POSIX (0)
#endif
// Support for VFS FAT component, to mount a FAT filesystem within VFS
-#ifndef MICROPY_VFS
+#ifndef MICROPY_VFS_FAT
#define MICROPY_VFS_FAT (0)
#endif
+// Support for VFS LittleFS v1 component, to mount a LFSv1 filesystem within VFS
+#ifndef MICROPY_VFS_LFS1
+#define MICROPY_VFS_LFS1 (0)
+#endif
+
+// Support for VFS LittleFS v2 component, to mount a LFSv2 filesystem within VFS
+#ifndef MICROPY_VFS_LFS2
+#define MICROPY_VFS_LFS2 (0)
+#endif
+
/*****************************************************************************/
/* Fine control over Python builtins, classes, modules, etc */