py/mpconfig: Add LFS1/LFS2 options to match FAT/posix.
Also fixes the #ifndef for FAT & posix. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
parent
57fd66b80f
commit
89a0fefb6c
|
@ -920,15 +920,25 @@ typedef double mp_float_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Support for VFS POSIX component, to mount a POSIX filesystem within VFS
|
// Support for VFS POSIX component, to mount a POSIX filesystem within VFS
|
||||||
#ifndef MICROPY_VFS
|
#ifndef MICROPY_VFS_POSIX
|
||||||
#define MICROPY_VFS_POSIX (0)
|
#define MICROPY_VFS_POSIX (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Support for VFS FAT component, to mount a FAT filesystem within VFS
|
// Support for VFS FAT component, to mount a FAT filesystem within VFS
|
||||||
#ifndef MICROPY_VFS
|
#ifndef MICROPY_VFS_FAT
|
||||||
#define MICROPY_VFS_FAT (0)
|
#define MICROPY_VFS_FAT (0)
|
||||||
#endif
|
#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 */
|
/* Fine control over Python builtins, classes, modules, etc */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue