diff options
author | Damien George <damien.p.george@gmail.com> | 2016-06-01 17:03:36 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-27 13:19:10 +1100 |
commit | 5395f5bc714785ce1692881531240c4a14e4cf0c (patch) | |
tree | be68157b574ff9a94a36165fc092b59792dec379 | |
parent | f5f4cdae89ed040ae9209a380cf968254434e819 (diff) | |
download | micropython-5395f5bc714785ce1692881531240c4a14e4cf0c.tar.gz micropython-5395f5bc714785ce1692881531240c4a14e4cf0c.zip |
unix: Switch to OO version of FatFS library.
-rw-r--r-- | unix/Makefile | 4 | ||||
-rw-r--r-- | unix/mpconfigport.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/unix/Makefile b/unix/Makefile index a24962a291..785e53c0ac 100644 --- a/unix/Makefile +++ b/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) diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index eb46565464..ce026310c3 100644 --- a/unix/mpconfigport.h +++ b/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 |