⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fs_conf.h

📁 嵌入式文件系统 ucfs.包含全部源代码
💻 H
字号:
/*
**********************************************************************
*                          Micrium, Inc.
*                      949 Crestview Circle
*                     Weston,  FL 33327-1848
*
*                            uC/FS
*
*             (c) Copyright 2001 - 2003, Micrium, Inc.
*                      All rights reserved.
*
***********************************************************************

----------------------------------------------------------------------
File        : fs_conf.h 
Purpose     : File system configuration
---------------------------END-OF-HEADER------------------------------
*/

#ifndef _FS_CONF_H_
#define _FS_CONF_H_


/*********************************************************************
*
*        Use RAMDISK
*/
#define FS_USE_RAMDISK_DRIVER              1

/*********************************************************************
*
*        Setting debug level
*/
#define FS_DEBUG_LEVEL                     1
  
/*********************************************************************
*
*      Use MMC/SD driver 
*/

#define FS_USE_MMC_DRIVER                  1

/*********************************************************************
*
*       Setup driver
*/
#define FS_MMC_MAXUNIT                     1
#define FS_MMC_HW_NEEDS_POLL               0
#define FS_MMC_CACHENUM                    2
#define FS__MMC_BLOCKSIZE               0x200


/*********************************************************************
*
*             RAMDISK_DRIVER defines
*/

#if FS_USE_RAMDISK_DRIVER
  /*
    Define size of your RAM disk here.
    You specify the number of sectors (512 bytes) here.
  */
  #define FS_RR_BLOCKNUM      32       /* 16KB RAM */
#endif  /* FS_USE_RAMDISK_DRIVER */

#endif  /* Avoid multiple inclusion */


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -