From 14f25337e7b2438145fd1f0498e63df18a30fa40 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 10 Oct 2016 12:16:02 -0700 Subject: [PATCH] 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. --- atmel-samd/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h index 69fe637669..bcbdfca9ff 100644 --- a/atmel-samd/mpconfigport.h +++ b/atmel-samd/mpconfigport.h @@ -67,6 +67,7 @@ #define MICROPY_FATFS_VOLUMES (4) #define MICROPY_FATFS_MULTI_PARTITION (1) #define MICROPY_FSUSERMOUNT (1) +#define MICROPY_FATFS_MAX_SS (4096) #define MICROPY_VFS_FAT (1) #define MICROPY_PY_MACHINE (1)