8000 py/mpconfig: Change the default enable level for the vfs module. · micropython/micropython@8fdcc25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8fdcc25

Browse files
robert-hhdpgeorge
authored andcommitted
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>
1 parent d2bcb85 commit 8fdcc25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ typedef double mp_float_t;
17461746

17471747 5B7D
// Whether to provide the "vfs" module
17481748
#ifndef MICROPY_PY_VFS
1749-
#define MICROPY_PY_VFS (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES && MICROPY_VFS)
1749+
#define MICROPY_PY_VFS (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_CORE_FEATURES && MICROPY_VFS)
17501750
#endif
17511751

17521752
#ifndef MICROPY_PY_WEBSOCKET

0 commit comments

Comments
 (0)
0