www.pudn.com > MP3+JPEG.rar > FS_Config.h


 
 
#include "Typedef.h" 
 
	#if defined _DEBUG_UNSP_FS_IN_VCPP 
		// 在VC++ 进行调试时,不进行 SD卡的模拟,只开放3个设备 
		#define NBLKDEV			3 
	#elif defined _DEBUG_UNSP_FS_IN_SIMULATOR 
		// 在SPL162001 的模拟器上进行测试,也不使用SD卡 
		#define NBLKDEV		    3 
	#elif defined _MAX_DISK_NUM 
	    #define NBLKDEV		    _MAX_DISK_NUM 
	#else 
		#define NBLKDEV		    4 
	#endif 
 
	#define NUMBUFF 		    2 
 
	#ifdef _MAX_FILE_NUM 
	    #define NFILES 			_MAX_FILE_NUM 
	#else	 
		#define NFILES 			8 
	#endif 
 
#define FSDRV_MAX_RETRY	3 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
/* File and path names limits, in bytes, including the NULL terminator */ 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
#define FD32_LFNPMAX 260 /* Max length for a long file name path  */ 
#define FD32_LFNMAX  255 /* Max length for a long file name       */ 
#define FD32_SFNPMAX 64  /* Max length for a short file name path */ 
#define FD32_SFNMAX  14  /* Max length for a short file name      */