diff options
| author | robert-hh <robert@hammelrath.com> | 2024-02-22 20:50:03 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-02-26 12:43:24 +1100 |
| commit | 8fdcc25eb07731a64077b7576c5d477cf81e2dd5 (patch) | |
| tree | e070bb4510d21930787841f8049d752fff3cab65 /py | |
| parent | d2bcb8597e88fccd496b6b0e358347f4bf6a15da (diff) | |
py/mpconfig: Change the default enable level for the vfs module.
For boards with MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_CORE_FEATURES and up.
This gets samd21 boards working (which need the vfs module in _boot.py),
B_L072Z_LRWAN1, and nrf boards with smaller MCUs that use CORE or BASIC
feature levels.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'py')
| -rw-r--r-- | py/mpconfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 837115ab5..e7b72c642 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -1746,7 +1746,7 @@ typedef double mp_float_t; // Whether to provide the "vfs" module #ifndef MICROPY_PY_VFS -#define MICROPY_PY_VFS (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES && MICROPY_VFS) +#define MICROPY_PY_VFS (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_CORE_FEATURES && MICROPY_VFS) #endif #ifndef MICROPY_PY_WEBSOCKET |
