Browse Source

unix: Switch to OO version of FatFS library.

pull/2140/head
Damien George 9 years ago
parent
commit
5395f5bc71
  1. 4
      unix/Makefile
  2. 1
      unix/mpconfigport.h

4
unix/Makefile

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

1
unix/mpconfigport.h

@ -131,6 +131,7 @@
#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_FATFS_OO (1)
#define MICROPY_FATFS_ENABLE_LFN (1)
#define MICROPY_FATFS_RPATH (2)
// Can't have less than 3 values because diskio.h uses volume numbers

Loading…
Cancel
Save