readme.tffs
来自「VxWorks 5.4嵌入式操作系统, Tornado II开发平台BSP包的移」· TFFS 代码 · 共 39 行
TFFS
39 行
Here is an explanation of how to include TFFS support in this BSP.Makefile: - Add MACH_EXTRA configuration macro as follows. MACH_EXTRA = sysTffs.o - Add following lines at the end of the Makefile # Rules to build TFFS objects VPATH=../../src/drv/tffs EXTRA_INCLUDE=-I$(TGT_DIR)/h/tffsconfig.h: - Define INCLUDE_TFFS or INCLUDE_PCMCIA configuration macro as follows. #define INCLUDE_TFFS or #define INCLUDE_PCMCIA INCLUDE_TFFS pulls in and uses its own PCIC(PCMCIA controller chip) driver. INCLUDE_PCMCIA uses a driver provided by PCMCIA package. The TFFS's PCIC driver doesn't check a type of PC card and it assumes the accessing PC card is a flash PC card. However, the size of the driver is small. Thus it might be suitable for people who have memory constraint. On the other hand, the PCMCIA package checks a type of PC card and allows TFFS driver to access the PC card only if it is a flash PC card. - Define INCLUDE_SHOW_ROUTINES to link in tffsShow() which shows a relationship between a drive number and a socket interface. - Define SYS_WARM_TFFS_DRIVE as follows: #define SYS_WARM_TFFS_DRIVE 0 /* 0 = c: (DOC) */ - Define INCLUDE_TFFS if you define INCLUDE_PCMCIA as follows: #ifdef INCLUDE_PCMCIA #define INCLUDE_ATA /* include ATA driver */ #define INCLUDE_SRAM /* include SRAM driver */ #define INCLUDE_TFFS /* include TFFS driver */ #ifdef INCLUDE_NETWORK #define INCLUDE_ELT /* include 3COM EtherLink III driver */ #endif /* INCLUDE_NETWORK */ #endif /* INCLUDE_PCMCIA */sysLib.c - If your C: drive is Disk On Chip and you are booting from it instead of floppy disk, set sysWarmType global variable to 3 for warm start from the Disk On Chip.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?