unix: Change to use new generic VFS sub-system in coverage build.

This patch includes a new module "uos_vfs" which can be used for testing
the VFS syb-system.
This commit is contained in:
Damien George
2017-01-27 15:14:49 +11:00
parent 6c23c7587f
commit f1e04148a1
4 changed files with 77 additions and 2 deletions

View File

@@ -27,14 +27,15 @@
// Default unix config while intended to be comprehensive, may still not enable
// all the features, this config should enable more (testable) options.
#define MICROPY_VFS (1)
#define MICROPY_PY_UOS_VFS (1)
#include <mpconfigport.h>
#define MICROPY_PY_BUILTINS_HELP (1)
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
#define MICROPY_PY_IO_BUFFEREDWRITER (1)
#undef MICROPY_FSUSERMOUNT
#undef MICROPY_VFS_FAT
#define MICROPY_FSUSERMOUNT (1)
#define MICROPY_VFS_FAT (1)
#define MICROPY_PY_FRAMEBUF (1)