diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-29 15:21:46 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-30 12:26:07 +1100 |
commit | 1808b2e8d5c9fff8020628a7849a537ffa9790e3 (patch) | |
tree | 4f511c33f4355880fc9a224d742e90c6758f799f /unix/modos.c | |
parent | 3d6f9572084a8bcba762899ee4f8ea15ddf010ab (diff) |
extmod: Remove MICROPY_FSUSERMOUNT and related files.
Replaced by MICROPY_VFS and the VFS sub-system.
Diffstat (limited to 'unix/modos.c')
-rw-r--r-- | unix/modos.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/unix/modos.c b/unix/modos.c index c35b246dd..1584b0d20 100644 --- a/unix/modos.c +++ b/unix/modos.c @@ -41,13 +41,6 @@ #include "extmod/misc.h" #include "extmod/vfs_fat.h" -// Can't include this, as FATFS structure definition is required, -// and FatFs header defining it conflicts with POSIX. -//#include "extmod/fsusermount.h" -MP_DECLARE_CONST_FUN_OBJ_KW(fsuser_mount_obj); -MP_DECLARE_CONST_FUN_OBJ_1(fsuser_umount_obj); -MP_DECLARE_CONST_FUN_OBJ_KW(fsuser_mkfs_obj); - #ifdef __ANDROID__ #define USE_STATFS 1 #endif @@ -233,11 +226,6 @@ STATIC const mp_rom_map_elem_t mp_module_os_globals_table[] = { { MP_ROM_QSTR(MP_QSTR_getenv), MP_ROM_PTR(&mod_os_getenv_obj) }, { MP_ROM_QSTR(MP_QSTR_mkdir), MP_ROM_PTR(&mod_os_mkdir_obj) }, { MP_ROM_QSTR(MP_QSTR_ilistdir), MP_ROM_PTR(&mod_os_ilistdir_obj) }, - #if MICROPY_FSUSERMOUNT - { MP_ROM_QSTR(MP_QSTR_vfs_mount), MP_ROM_PTR(&fsuser_mount_obj) }, - { MP_ROM_QSTR(MP_QSTR_vfs_umount), MP_ROM_PTR(&fsuser_umount_obj) }, - { MP_ROM_QSTR(MP_QSTR_vfs_mkfs), MP_ROM_PTR(&fsuser_mkfs_obj) }, - #endif #if MICROPY_VFS_FAT { MP_ROM_QSTR(MP_QSTR_VfsFat), MP_ROM_PTR(&mp_fat_vfs_type) }, #endif |