diff options
| author | Glenn Ruben Bakke <glennbakke@gmail.com> | 2020-07-23 21:12:34 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-08-08 23:09:26 +1000 |
| commit | f99aa82e850a32caee2ef864da673e9c5c529054 (patch) | |
| tree | 6d10fee61c5a28faf4b09b6f2ca33649904a1738 | |
| parent | 7a833edf37ed9714abdf5b7cf96d615fe877f3b9 (diff) | |
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.
| -rw-r--r-- | ports/nrf/mpconfigport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h index 92b87a036..480368aaa 100644 --- a/ports/nrf/mpconfigport.h +++ b/ports/nrf/mpconfigport.h @@ -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) |
