File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 * THE SOFTWARE.
2828 */
2929
30+ #include "py/mpconfig.h"
31+ #if MICROPY_FSUSERMOUNT
32+
3033#include <stdint.h>
3134#include <stdio.h>
3235
@@ -248,3 +251,5 @@ DRESULT disk_ioctl (
248251 }
249252}
250253#endif
254+
255+ #endif // MICROPY_FSUSERMOUNT
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ PY_O_BASENAME = \
171171 ../extmod/modurandom.o \
172172 ../extmod/fsusermount.o \
173173 ../extmod/vfs_fat.o \
174+ ../extmod/vfs_fat_diskio.o \
174175 ../extmod/moduos_dupterm.o \
175176
176177# prepend the build destination prefix to the py object files
Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ SRC_C = \
156156 file.c \
157157 builtin_open.c \
158158 sdcard.c \
159- diskio.c \
160159 fatfs_port.c \
161160 ffconf.c \
162161 lcd.c \
Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ SRC_C = \
148148 $(SRC_MOD )
149149
150150STMHAL_SRC_C = \
151- stmhal/diskio.c \
152151 stmhal/ffconf.c \
153152 stmhal/file.c
154153
You can’t perform that action at this time.
0 commit comments