Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
...@@ -27,6 +27,9 @@ ...@@ -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 ( ...@@ -248,3 +251,5 @@ DRESULT disk_ioctl (
} }
} }
#endif #endif
#endif // MICROPY_FSUSERMOUNT
...@@ -171,6 +171,7 @@ PY_O_BASENAME = \ ...@@ -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 = \ ...@@ -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 = \ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment