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>
pull/9303/head
Jim Mussared 2022-09-13 14:57:24 +10:00 zatwierdzone przez Damien George
rodzic 57fd66b80f
commit 89a0fefb6c
1 zmienionych plików z 12 dodań i 2 usunięć

Wyświetl plik

@ -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 */