extmod/vfs_fat_diskio: Reusable FatFs module, move from stmhal/diskio.
This commit is contained in:
parent
72085a669b
commit
8cb78e0e53
@ -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
|
1
py/py.mk
1
py/py.mk
@ -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
|
||||||
|
@ -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 \
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user