extmod/vfs_fat_ffconf: Reusable FatFs module, move from stmhal/ffconf.

TODO: Probably merge into vfs_fat_diskio.
pull/1846/head
Paul Sokolovsky 2016-02-15 00:19:27 +02:00
rodzic 6b0c88256b
commit 46a0ac02c5
4 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -24,6 +24,9 @@
* THE SOFTWARE.
*/
#include "py/mpconfig.h"
#if MICROPY_FSUSERMOUNT
#include <string.h>
#include "py/mpstate.h"
@ -75,3 +78,5 @@ void ff_get_volname(BYTE vol, TCHAR **dest) {
memcpy(*dest, vfs->str, vfs->len);
*dest += vfs->len;
}
#endif // MICROPY_FSUSERMOUNT

Wyświetl plik

@ -171,6 +171,7 @@ PY_O_BASENAME = \
../extmod/modurandom.o \
../extmod/fsusermount.o \
../extmod/vfs_fat.o \
../extmod/vfs_fat_ffconf.o \
../extmod/vfs_fat_diskio.o \
../extmod/vfs_fat_file.o \
../extmod/moduos_dupterm.o \

Wyświetl plik

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

Wyświetl plik

@ -147,9 +147,6 @@ SRC_C = \
fatfs_port.c \
$(SRC_MOD)
STMHAL_SRC_C = \
stmhal/ffconf.c
# Include builtin package manager in the standard build (and coverage)
ifeq ($(PROG),micropython)
SRC_C += $(BUILD)/_frozen_upip.c