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

📄 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 the flash driver
*/
#define FS_USE_FLASH_DRIVER                1
/*********************************************************************
*
*        Setup flash addres and length
*/
#define FLASH_BASEADR         0x01000000  /* base address in external address space      */
#define FLASH_USER_START      0x01000000  /* Start adress of flash useable area (1st sector) */
#define FLASH_USER_LEN        0x00100000  /* Size of flash disk */

/*********************************************************************
*
*        flash routine relocation
*/
#define FLASH_RELOCATECODE             0  /* When 1, flash erase/write routines are copied  to RAM and executed from there */

/*********************************************************************
*
*        flash driver configuration
*/
#define FS_FLASH_RAMBUFFER        0x4000
#define FS_FLASHWEARLEVELING           1

/*********************************************************************
*
*        Choose flash device
*/
#define FLASH_28F320B                  0
#define FLASH_28F320T                  0
#define FLASH_28F128J3                 0

#define FLASH_29F002T                  0
#define FLASH_29F002B                  0
#define FLASH_29F004T                  0
#define FLASH_29F004B                  0
#define FLASH_29F008T                  0
#define FLASH_29F008B                  0
#define FLASH_29F040B                  0
#define FLASH_29LV002T                 0
#define FLASH_29LV002B                 0
#define FLASH_29LV004T                 0
#define FLASH_29LV004B                 0
#define FLASH_29LV008T                 0
#define FLASH_29LV008B                 0
#define FLASH_29LV040B                 0
#define FLASH_29F200T                  0
#define FLASH_29F200B                  0
#define FLASH_29F400T                  0
#define FLASH_29F400B                  0
#define FLASH_29F800T                  0
#define FLASH_29F800B                  0
#define FLASH_29LV200T                 0
#define FLASH_29LV200B                 0
#define FLASH_29LV400T                 0
#define FLASH_29LV400B                 0
#define FLASH_29LV800T                 0
#define FLASH_29LV800B                 0
#define FLASH_29DL16xT                 0
#define FLASH_29DL16xB                 0
#define FLASH_29DL32xT                 0
#define FLASH_29DL32xB                 0


/*********************************************************************
*
*             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 + -