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.
This commit is contained in:
Scott Shawcroft 2016-10-10 12:16:02 -07:00
parent a52fd670e6
commit 14f25337e7

View File

@ -67,6 +67,7 @@
#define MICROPY_FATFS_VOLUMES (4) #define MICROPY_FATFS_VOLUMES (4)
#define MICROPY_FATFS_MULTI_PARTITION (1) #define MICROPY_FATFS_MULTI_PARTITION (1)
#define MICROPY_FSUSERMOUNT (1) #define MICROPY_FSUSERMOUNT (1)
#define MICROPY_FATFS_MAX_SS (4096)
#define MICROPY_VFS_FAT (1) #define MICROPY_VFS_FAT (1)
#define MICROPY_PY_MACHINE (1) #define MICROPY_PY_MACHINE (1)