TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

Library defines. More...

Macros

#define FATFS_TRUNCATE_BUFFER_SIZE   256
 Default truncate buffer size in bytes. More...
 
#define LIB_ALLOC_FUNC   malloc
 
#define LIB_FREE_FUNC   free
 

Detailed Description

Library defines.

Macro Definition Documentation

#define FATFS_TRUNCATE_BUFFER_SIZE   256

Default truncate buffer size in bytes.

Note
If you have in plan to truncate from beginning large files a lot of times, then you should think about increasing this value as far as possible. With larger buffer size you will get faster response with truncating. Suggested value is multiply by 512