summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-29 15:16:51 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-30 12:26:07 +1100
commit8beba7310f5aee77c179ec1852471f041937b54b (patch)
tree9fcd355a967fe0e1ed5a72dc277be0fe3873c488 /py
parent56506fd64a40f9c5ea97888245df6f2cb8b20744 (diff)
downloadmicropython-8beba7310f5aee77c179ec1852471f041937b54b.tar.gz
micropython-8beba7310f5aee77c179ec1852471f041937b54b.zip
extmod/vfs_fat: Remove MICROPY_READER_FATFS component.
Diffstat (limited to 'py')
-rw-r--r--py/lexer.c2
-rw-r--r--py/mpconfig.h5
-rw-r--r--py/py.mk1
3 files changed, 1 insertions, 7 deletions
diff --git a/py/lexer.c b/py/lexer.c
index e9b571ca40..33af21e9c3 100644
--- a/py/lexer.c
+++ b/py/lexer.c
@@ -753,7 +753,7 @@ mp_lexer_t *mp_lexer_new_from_str_len(qstr src_name, const char *str, mp_uint_t
return mp_lexer_new(src_name, reader);
}
-#if MICROPY_READER_POSIX || MICROPY_READER_VFS || MICROPY_READER_FATFS
+#if MICROPY_READER_POSIX || MICROPY_READER_VFS
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
mp_reader_t reader;
diff --git a/py/mpconfig.h b/py/mpconfig.h
index a924eda0c6..d078e93011 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -403,11 +403,6 @@
#define MICROPY_READER_VFS (0)
#endif
-// Whether to use the FatFS reader for importing files
-#ifndef MICROPY_READER_FATFS
-#define MICROPY_READER_FATFS (0)
-#endif
-
// Hook for the VM at the start of the opcode loop (can contain variable
// definitions usable by the other hook functions)
#ifndef MICROPY_VM_HOOK_INIT
diff --git a/py/py.mk b/py/py.mk
index e7e4fb9b78..0e5a9667db 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -240,7 +240,6 @@ PY_O_BASENAME = \
../extmod/vfs_fat_ffconf.o \
../extmod/vfs_fat_diskio.o \
../extmod/vfs_fat_file.o \
- ../extmod/vfs_fat_reader.o \
../extmod/vfs_fat_misc.o \
../extmod/utime_mphal.o \
../extmod/uos_dupterm.o \