From 7388efa953bcfd9a7d6994a2a1daea6bfef3c31d Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 10 Apr 2017 15:38:43 +0800 Subject: [PATCH] fatfs: add support for variable sector size --- components/fatfs/src/ffconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fatfs/src/ffconf.h b/components/fatfs/src/ffconf.h index 3556b31b2c..ab17e6922c 100644 --- a/components/fatfs/src/ffconf.h +++ b/components/fatfs/src/ffconf.h @@ -179,7 +179,7 @@ #define _MIN_SS 512 -#define _MAX_SS 512 +#define _MAX_SS 4096 /* These options configure the range of sector size to be supported. (512, 1024, / 2048 or 4096) Always set both 512 for most systems, all type of memory cards and / harddisk. But a larger value may be required for on-board flash memory and some