8000 atmel-samd: Fix FAT by giving the option of 4k sectors. · cpforbes/circuitpython@14f2533 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14f2533

Browse files
committed
atmel-samd: Fix FAT by giving the option of 4k sectors.
This causes the FATFS struct to have the ssize member because sector size can be anywhere between 512 bytes and 4k bytes.
1 parent a52fd67 commit 14f2533

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

atmel-samd/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
#define MICROPY_FATFS_VOLUMES (4)
6868
#define MICROPY_FATFS_MULTI_PARTITION (1)
6969
#define MICROPY_FSUSERMOUNT (1)
70+
#define MICROPY_FATFS_MAX_SS (4096)
7071

7172
#define MICROPY_VFS_FAT (1)
7273
#define MICROPY_PY_MACHINE (1)

0 commit comments

Comments
 (0)
0