Skip to content

Commit c39e1e9

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents e3b314e + 709cee0 commit c39e1e9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

py/circuitpy_mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
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)

supervisor/shared/flash.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)