X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fexamples%2Fsd_fat%2Fcfg%2Fcfg_fat.h;fp=boards%2Fat91sam7x-ek%2Fexamples%2Fsd_fat%2Fcfg%2Fcfg_fat.h;h=0000000000000000000000000000000000000000;hb=67813e9ec40a4189348aa829f93a188c017a4c87;hp=fcd717af3591aede4c4b578bab04e6f794d445c2;hpb=6c4b0cf8c98308df4866839b9c7d8fe813376969;p=bertos.git diff --git a/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_fat.h b/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_fat.h deleted file mode 100644 index fcd717af..00000000 --- a/boards/at91sam7x-ek/examples/sd_fat/cfg/cfg_fat.h +++ /dev/null @@ -1,156 +0,0 @@ -/** - * \file - * - * - * \brief Configuration file for Fat module. - * - * - * \author Luca Ottaviano - * \author Francesco Sacchi - */ - -#ifndef CFG_FAT_H -#define CFG_FAT_H - -/** - * Module logging level. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "log_level" - */ -#define FAT_LOG_LEVEL LOG_LVL_ERR - -/** - * Module logging format. - * - * $WIZ$ type = "enum" - * $WIZ$ value_list = "log_format" - */ -#define FAT_LOG_FORMAT LOG_FMT_VERBOSE - - -/** - * Use word alignment to access FAT structure. - * $WIZ$ type = "boolean" - */ -#define CONFIG_FAT_WORD_ACCESS 0 -#define _WORD_ACCESS CONFIG_FAT_WORD_ACCESS - -/** - * Enable read functions only. - * $WIZ$ type = "boolean" - */ -#define CONFIG_FAT_FS_READONLY 0 -#define _FS_READONLY CONFIG_FAT_FS_READONLY - -/** - * Minimization level to remove some functions. - * $WIZ$ type = "int"; min = 0; max = 3 - */ -#define CONFIG_FAT_FS_MINIMIZE 0 -#define _FS_MINIMIZE CONFIG_FAT_FS_MINIMIZE - -/** - * If enabled, this reduces memory consumption 512 bytes each file object by using a shared buffer. - * $WIZ$ type = "boolean" - */ -#define CONFIG_FAT_FS_TINY 1 -#define _FS_TINY CONFIG_FAT_FS_TINY - -/** - * To enable string functions, set _USE_STRFUNC to 1 or 2. - * $WIZ$ type = "int" - * $WIZ$ supports = "False" - */ -#define CONFIG_FAT_USE_STRFUNC 0 -#define _USE_STRFUNC CONFIG_FAT_USE_STRFUNC - -/** - * Enable f_mkfs function. Requires CONFIG_FAT_FS_READONLY = 0. - * $WIZ$ type = "boolean" - */ -#define CONFIG_FAT_USE_MKFS 0 -#define _USE_MKFS (CONFIG_FAT_USE_MKFS && !CONFIG_FAT_FS_READONLY) - -/** - * Enable f_forward function. Requires CONFIG_FAT_FS_TINY. - * $WIZ$ type = "boolean" - */ -#define CONFIG_FAT_USE_FORWARD 0 -#define _USE_FORWARD (CONFIG_FAT_USE_FORWARD && CONFIG_FAT_FS_TINY) - -/** - * Number of volumes (logical drives) to be used. - * $WIZ$ type = "int"; min = 1; max = 255 - */ -#define CONFIG_FAT_DRIVES 1 -#define _DRIVES CONFIG_FAT_DRIVES - -/** - * Maximum sector size to be handled. (512/1024/2048/4096). - * 512 for memory card and hard disk, 1024 for floppy disk, 2048 for MO disk - * $WIZ$ type = "int"; min = 512; max = 4096 - */ -#define CONFIG_FAT_MAX_SS 512 -#define _MAX_SS CONFIG_FAT_MAX_SS - -/** - * When _MULTI_PARTITION is set to 0, each volume is bound to the same physical - * drive number and can mount only first primaly partition. When it is set to 1, - * each volume is tied to the partitions listed in Drives[]. - * $WIZ$ type = "boolean" - * $WIZ$ supports = "False" - */ -#define CONFIG_FAT_MULTI_PARTITION 0 -#define _MULTI_PARTITION CONFIG_FAT_MULTI_PARTITION - -/** - * Specifies the OEM code page to be used on the target system. - * $WIZ$ type = "int" - */ -#define CONFIG_FAT_CODE_PAGE 850 -#define _CODE_PAGE CONFIG_FAT_CODE_PAGE - -/** - * Support for long filenames. Enable only if you have a valid Microsoft license. - * $WIZ$ type = "boolean" - */ -#define CONFIG_FAT_USE_LFN 0 -#define _USE_LFN CONFIG_FAT_USE_LFN - -/** - * Maximum Long File Name length to handle. - * $WIZ$ type = "int"; min = 8; max = 255 - */ -#define CONFIG_FAT_MAX_LFN 255 -#define _MAX_LFN CONFIG_FAT_MAX_LFN - -#endif /* CFG_FAT_H */