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 133
133
#define MICROPY_FATFS_LFN_CODE_PAGE (437)
134
134
#define MICROPY_FATFS_USE_LABEL (1)
135
135
#define MICROPY_FATFS_RPATH (2)
136
- #define MICROPY_FATFS_MULTI_PARTITION (0 )
136
+ #define MICROPY_FATFS_MULTI_PARTITION (1 )
137
137
138
138
// Only enable this if you really need it. It allocates a byte cache of this size.
139
139
// #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) {
213
213
vfs -> base .type = & mp_fat_vfs_type ;
214
214
vfs -> flags |= FSUSER_NATIVE | FSUSER_HAVE_IOCTL ;
215
215
vfs -> fatfs .drv = vfs ;
216
- #if MICROPY_FATFS_MULTI_PARTITION
217
216
vfs -> fatfs .part = 1 ; // flash filesystem lives on first partition
218
- #endif
219
217
vfs -> readblocks [0 ] = (mp_obj_t )& supervisor_flash_obj_readblocks_obj ;
220
218
vfs -> readblocks [1 ] = (mp_obj_t )& supervisor_flash_obj ;
221
219
vfs -> readblocks [2 ] = (mp_obj_t )flash_read_blocks ; // native version
You can’t perform that action at this time.
0 commit comments