File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 133133#define MICROPY_FATFS_LFN_CODE_PAGE (437)
134134#define MICROPY_FATFS_USE_LABEL (1)
135135#define MICROPY_FATFS_RPATH (2)
136- #define MICROPY_FATFS_MULTI_PARTITION (0 )
136+ #define MICROPY_FATFS_MULTI_PARTITION (1 )
137137
138138// Only enable this if you really need it. It allocates a byte cache of this size.
139139// #define MICROPY_FATFS_MAX_SS (4096)
Original file line number Diff line number Diff line change @@ -213,9 +213,7 @@ void supervisor_flash_init_vfs(fs_user_mount_t *vfs) {
213213 vfs -> base .type = & mp_fat_vfs_type ;
214214 vfs -> flags |= FSUSER_NATIVE | FSUSER_HAVE_IOCTL ;
215215 vfs -> fatfs .drv = vfs ;
216- #if MICROPY_FATFS_MULTI_PARTITION
217216 vfs -> fatfs .part = 1 ; // flash filesystem lives on first partition
218- #endif
219217 vfs -> readblocks [0 ] = (mp_obj_t )& supervisor_flash_obj_readblocks_obj ;
220218 vfs -> readblocks [1 ] = (mp_obj_t )& supervisor_flash_obj ;
221219 vfs -> readblocks [2 ] = (mp_obj_t )flash_read_blocks ; // native version
You can’t perform that action at this time.
0 commit comments