unix: Switch to OO version of FatFS library.
This commit is contained in:
parent
f5f4cdae89
commit
5395f5bc71
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user