nrf/mpconfigport.h: Enable MICROPY_PY_IO_FILEIO when an FS is enabled.

Enable MICROPY_PY_IO_FILEIO if MICROPY_VFS_FAT, MICROPY_VFS_LFS1
or MICROPY_VFS2 has been enabled.
This commit is contained in:
Glenn Ruben Bakke 2020-07-23 21:12:34 +02:00 committed by Damien George
parent 7a833edf37
commit f99aa82e85
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (0)
#define MICROPY_PY_CMATH (0)
#define MICROPY_PY_IO (0)
#define MICROPY_PY_IO_FILEIO (0)
#define MICROPY_PY_IO_FILEIO (MICROPY_VFS_FAT || MICROPY_VFS_LFS1 || MICROPY_VFS_LFS2)
#define MICROPY_PY_URANDOM (1)
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
#define MICROPY_PY_UCTYPES (0)