summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/mpconfig.h5
-rw-r--r--py/py.mk2
2 files changed, 7 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 100e2a981..dc0fc5d40 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -681,6 +681,11 @@ typedef double mp_float_t;
#define MICROPY_VFS (0)
#endif
+// Support for VFS POSIX component, to mount a POSIX filesystem within VFS
+#ifndef MICROPY_VFS
+#define MICROPY_VFS_POSIX (0)
+#endif
+
/*****************************************************************************/
/* Fine control over Python builtins, classes, modules, etc */
diff --git a/py/py.mk b/py/py.mk
index a91813526..f4b62a88a 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -241,6 +241,8 @@ PY_EXTMOD_O_BASENAME = \
extmod/modframebuf.o \
extmod/vfs.o \
extmod/vfs_reader.o \
+ extmod/vfs_posix.o \
+ extmod/vfs_posix_file.o \
extmod/vfs_fat.o \
extmod/vfs_fat_diskio.o \
extmod/vfs_fat_file.o \