Commit 8cb78e0e authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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

parent 72085a66
......@@ -27,6 +27,9 @@
* THE SOFTWARE.
*/
#include "py/mpconfig.h"
#if MICROPY_FSUSERMOUNT
#include <stdint.h>
#include <stdio.h>
......@@ -248,3 +251,5 @@ DRESULT disk_ioctl (
}
}
#endif
#endif // MICROPY_FSUSERMOUNT
......@@ -171,6 +171,7 @@ PY_O_BASENAME = \
../extmod/modurandom.o \
../extmod/fsusermount.o \
../extmod/vfs_fat.o \
../extmod/vfs_fat_diskio.o \
../extmod/moduos_dupterm.o \
# prepend the build destination prefix to the py object files
......
......@@ -156,7 +156,6 @@ SRC_C = \
file.c \
builtin_open.c \
sdcard.c \
diskio.c \
fatfs_port.c \
ffconf.c \
lcd.c \
......
......@@ -148,7 +148,6 @@ SRC_C = \
$(SRC_MOD)
STMHAL_SRC_C = \
stmhal/diskio.c \
stmhal/ffconf.c \
stmhal/file.c
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment