summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@chickadee.tech>2016-10-10 12:16:02 -0700
committerScott Shawcroft <scott@chickadee.tech>2016-10-10 12:16:02 -0700
commit14f25337e7b2438145fd1f0498e63df18a30fa40 (patch)
treef870234899ae210d9f12531a36d88d4743d57988
parenta52fd670e66e72dc60d460016a2f1f03a65dbeb6 (diff)
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.
-rw-r--r--atmel-samd/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h
index 69fe63766..bcbdfca9f 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)