optimize fat options

This commit is contained in:
koolkdev 2017-03-26 00:58:24 +03:00
parent f0a616873c
commit a0a2f57028

View File

@ -32,13 +32,13 @@
// Max FAT sectors to buffer (min 1) // Max FAT sectors to buffer (min 1)
// (mem used is FAT_BUFFERS * FAT_BUFFER_SECTORS * FAT_SECTOR_SIZE) // (mem used is FAT_BUFFERS * FAT_BUFFER_SECTORS * FAT_SECTOR_SIZE)
#ifndef FAT_BUFFERS #ifndef FAT_BUFFERS
#define FAT_BUFFERS 1 #define FAT_BUFFERS 64
#endif #endif
// Size of cluster chain cache (can be undefined) // Size of cluster chain cache (can be undefined)
// Mem used = FAT_CLUSTER_CACHE_ENTRIES * 4 * 2 // Mem used = FAT_CLUSTER_CACHE_ENTRIES * 4 * 2
// Improves access speed considerably // Improves access speed considerably
//#define FAT_CLUSTER_CACHE_ENTRIES 128 #define FAT_CLUSTER_CACHE_ENTRIES 128
// Include support for writing files (1 / 0)? // Include support for writing files (1 / 0)?
#ifndef FATFS_INC_WRITE_SUPPORT #ifndef FATFS_INC_WRITE_SUPPORT