Description: Ucos environment based on the file system, multiple functions uc/FS basic use: 1. FS_Init (), call the uc/FS function needs to be initialized before 2. FS_IoCtl (), for medium format ( SD card formatted with a computer, so the format parameter is not given) 3. _write_file, 1) FS_FOpen (), create the document or open an existing file and return file structure pointer 2) FS_FWrite (), data written to the file 3) FS_FClose (), close the file 4. _dump_file, 1) 1) FS_FOpen (), create the document or open an existing file and return file structure pointer 2) FS_FRead (), read the file data 3) FS_FClose () , close the file 5. FS_Exit (), close the file system.
To Search:
File list (Check if you may need any files):
基于UCOS文件系统代码\UCOS FAT-SYS\NAND\build\build.mcp
....................\............\....\.....\....._Data\CWSettingsWindows.stg
....................\............\....\.....\..........\Debug\TargetDataWindows.tdt
....................\............\....\.....\..........\.....Rel\build.axf
....................\............\....\.....\..........\........\TargetDataWindows.tdt
....................\............\....\.....\..........\Release\TargetDataWindows.tdt
....................\............\....\common\def.h
....................\............\....\......\includes.h
....................\............\....\......\OS_CFG.H
....................\............\....\......\os_cpu.h
....................\............\....\......\Os_cpu_a.s
....................\............\....\......\Os_cpu_c.c
....................\............\....\FS\API\api_dir.c
....................\............\....\..\...\api_in.c
....................\............\....\..\...\api_int.h
....................\............\....\..\...\api_misc.c
....................\............\....\..\...\api_out.c
....................\............\....\..\...\fs_api.h
....................\............\....\..\...\fs_dev.h
....................\............\....\..\...\fs_fsl.h
....................\............\....\..\...\fs_info.c
....................\............\....\..\...\fs_int.h
....................\............\....\..\CLIB\clibmisc.c
....................\............\....\..\....\fs_clib.h
....................\............\....\..\.ONFIG\EP7312\fs_conf.h
....................\............\....\..\......\......\fs_port.h
....................\............\....\..\......\M16C_137X_IP\fs_conf.h
....................\............\....\..\......\............\fs_port.h
....................\............\....\..\......\Win32\fs_conf.h
....................\............\....\..\......\.....\fs_port.h
....................\............\....\..\DEVICE\IDE\ide.h
....................\............\....\..\......\...\ide_drv.c
....................\............\....\..\......\...\ide_x_hw.c
....................\............\....\..\......\...\ide_x_hw.h
....................\............\....\..\......\ram\r_misc.c
....................\............\....\..\FSL\fat\fat_data.c
....................\............\....\..\...\...\fat_dir.c
....................\............\....\..\...\...\fat_in.c
....................\............\....\..\...\...\fat_ioct.c
....................\............\....\..\...\...\fat_misc.c
....................\............\....\..\...\...\fat_open.c
....................\............\....\..\...\...\fat_out.c
....................\............\....\..\...\...\fs_fat.h
....................\............\....\..\LBL\fs_lbl.h
....................\............\....\..\...\lb_misc.c
....................\............\....\..\OS\fs_os.h
....................\............\....\..\..\fs_x_ucos_ii.c
....................\............\....\..\sample\main.c
....................\............\....\include\intc.h
....................\............\....\.......\sep4020.h
....................\............\....\.......\ub4020evb.h
....................\............\....\Init\boot_gfd.s
....................\............\....\....\heap.s
....................\............\....\....\int_gfd.s
....................\............\....\....\int_vec_handler.c
....................\............\....\....\memmp.scf
....................\............\....\....\retarget.c
....................\............\....\....\stack.s
....................\............\....\list\emi.c
....................\............\....\....\emi.h
....................\............\....\SOURCE\os_core.c
....................\............\....\......\os_flag.c
....................\............\....\......\os_mbox.c
....................\............\....\......\os_mem.c
....................\............\....\......\os_mutex.c
....................\............\....\......\os_q.c
....................\............\....\......\os_sem.c
....................\............\....\......\os_task.c
....................\............\....\......\os_t