extmod/vfs_fat_diskio: Reusable FatFs module, move from stmhal/diskio.

This commit is contained in:
Paul Sokolovsky 2016-02-15 00:08:37 +02:00
parent 72085a669b
commit 8cb78e0e53
4 changed files with 6 additions and 2 deletions

View File

@ -27,6 +27,9 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include "py/mpconfig.h"
#if MICROPY_FSUSERMOUNT
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
@ -248,3 +251,5 @@ DRESULT disk_ioctl (
} }
} }
#endif #endif
#endif // MICROPY_FSUSERMOUNT

View File

@ -171,6 +171,7 @@ PY_O_BASENAME = \
../extmod/modurandom.o \ ../extmod/modurandom.o \
../extmod/fsusermount.o \ ../extmod/fsusermount.o \
../extmod/vfs_fat.o \ ../extmod/vfs_fat.o \
../extmod/vfs_fat_diskio.o \
../extmod/moduos_dupterm.o \ ../extmod/moduos_dupterm.o \
# prepend the build destination prefix to the py object files # prepend the build destination prefix to the py object files

View File

@ -156,7 +156,6 @@ SRC_C = \
file.c \ file.c \
builtin_open.c \ builtin_open.c \
sdcard.c \ sdcard.c \
diskio.c \
fatfs_port.c \ fatfs_port.c \
ffconf.c \ ffconf.c \
lcd.c \ lcd.c \

View File

@ -148,7 +148,6 @@ SRC_C = \
$(SRC_MOD) $(SRC_MOD)
STMHAL_SRC_C = \ STMHAL_SRC_C = \
stmhal/diskio.c \
stmhal/ffconf.c \ stmhal/ffconf.c \
stmhal/file.c stmhal/file.c