unix: Switch to OO version of FatFS library.

This commit is contained in:
Damien George 2016-06-01 17:03:36 +01:00
parent f5f4cdae89
commit 5395f5bc71
2 changed files with 3 additions and 2 deletions

View File

@ -157,8 +157,8 @@ LIB_SRC_C = $(addprefix lib/,\
# FatFS VFS support # FatFS VFS support
LIB_SRC_C += $(addprefix lib/,\ LIB_SRC_C += $(addprefix lib/,\
fatfs/ff.c \ oofatfs/ff.c \
fatfs/option/ccsbcs.c \ oofatfs/option/unicode.c \
) )
OBJ = $(PY_O) OBJ = $(PY_O)

View File

@ -131,6 +131,7 @@
#define MICROPY_MACHINE_MEM_GET_READ_ADDR mod_machine_mem_get_addr #define MICROPY_MACHINE_MEM_GET_READ_ADDR mod_machine_mem_get_addr
#define MICROPY_MACHINE_MEM_GET_WRITE_ADDR mod_machine_mem_get_addr #define MICROPY_MACHINE_MEM_GET_WRITE_ADDR mod_machine_mem_get_addr
#define MICROPY_FATFS_OO (1)
#define MICROPY_FATFS_ENABLE_LFN (1) #define MICROPY_FATFS_ENABLE_LFN (1)
#define MICROPY_FATFS_RPATH (2) #define MICROPY_FATFS_RPATH (2)
// Can't have less than 3 values because diskio.h uses volume numbers // Can't have less than 3 values because diskio.h uses volume numbers