diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-09-13 14:57:24 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-09-13 17:37:32 +1000 |
| commit | 89a0fefb6c5c730a7b740cf31e44a6c76c3993b1 (patch) | |
| tree | 0ad1bd78b06740eb06e602f13f2f0f3bc2c53351 | |
| parent | 57fd66b80f8352e4859e6b71536b6083f9d7279c (diff) | |
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>
| -rw-r--r-- | py/mpconfig.h | 14 |
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 */ |
