extmod/modvfs: Add new "vfs" module with mount/umount and Vfs classes.

They have been moved from the "os" module.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2023-10-13 14:53:02 +11:00
parent aaba1d8a6c
commit e7020463f1
7 changed files with 80 additions and 1 deletions

View File

@@ -124,6 +124,7 @@
#define MICROPY_PY_TIME_GMTIME_LOCALTIME_MKTIME (1)
#define MICROPY_PY_TIME_TIME_TIME_NS (1)
#define MICROPY_PY_TIME_INCLUDEFILE "ports/cc3200/mods/modtime.c"
#define MICROPY_PY_VFS (1)
#define MICROPY_PY_MACHINE (1)
#define MICROPY_PY_MACHINE_INCLUDEFILE "ports/cc3200/mods/modmachine.c"
#define MICROPY_PY_MACHINE_BARE_METAL_FUNCS (1)