Skip to content

Commit 8beba73

Browse files
committed
extmod/vfs_fat: Remove MICROPY_READER_FATFS component.
1 parent 56506fd commit 8beba73

4 files changed

Lines changed: 1 addition & 108 deletions

File tree

extmod/vfs_fat_reader.c

Lines changed: 0 additions & 101 deletions
This file was deleted.

py/lexer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ mp_lexer_t *mp_lexer_new_from_str_len(qstr src_name, const char *str, mp_uint_t
753753
return mp_lexer_new(src_name, reader);
754754
}
755755

756-
#if MICROPY_READER_POSIX || MICROPY_READER_VFS || MICROPY_READER_FATFS
756+
#if MICROPY_READER_POSIX || MICROPY_READER_VFS
757757

758758
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
759759
mp_reader_t reader;

py/mpconfig.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,6 @@
403403
#define MICROPY_READER_VFS (0)
404404
#endif
405405

406-
// Whether to use the FatFS reader for importing files
407-
#ifndef MICROPY_READER_FATFS
408-
#define MICROPY_READER_FATFS (0)
409-
#endif
410-
411406
// Hook for the VM at the start of the opcode loop (can contain variable
412407
// definitions usable by the other hook functions)
413408
#ifndef MICROPY_VM_HOOK_INIT

py/py.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ PY_O_BASENAME = \
240240
../extmod/vfs_fat_ffconf.o \
241241
../extmod/vfs_fat_diskio.o \
242242
../extmod/vfs_fat_file.o \
243-
../extmod/vfs_fat_reader.o \
244243
../extmod/vfs_fat_misc.o \
245244
../extmod/utime_mphal.o \
246245
../extmod/uos_dupterm.o \

0 commit comments

Comments
 (0)