Skip to content

Commit 5395f5b

Browse files
committed
unix: Switch to OO version of FatFS library.
1 parent f5f4cda commit 5395f5b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

unix/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ LIB_SRC_C = $(addprefix lib/,\
157157

158158
# FatFS VFS support
159159
LIB_SRC_C += $(addprefix lib/,\
160-
fatfs/ff.c \
161-
fatfs/option/ccsbcs.c \
160+
oofatfs/ff.c \
161+
oofatfs/option/unicode.c \
162162
)
163163

164164
OBJ = $(PY_O)

unix/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
#define MICROPY_MACHINE_MEM_GET_READ_ADDR mod_machine_mem_get_addr
132132
#define MICROPY_MACHINE_MEM_GET_WRITE_ADDR mod_machine_mem_get_addr
133133

134+
#define MICROPY_FATFS_OO (1)
134135
#define MICROPY_FATFS_ENABLE_LFN (1)
135136
#define MICROPY_FATFS_RPATH (2)
136137
// Can't have less than 3 values because diskio.h uses volume numbers

0 commit comments

Comments
 (0)