The function finit initializes the Flash File System and must be called before invoking any other file system function. The parameter drive is a character pointer specifying the drive to initialize. The function is included in the library RL-FlashFS. The prototype is defined in the file rtl.h. The following values are allowed for drive: | drive | Initialized Drives |
|---|
| "" | Default System drive as defined in the file File_Config.c | | NULL | All enabled drives | | "F:" or "F0:" | Flash drive | | "S:" or "S0:" | SPI Flash drive | | "R:" or "R0:" | RAM drive | | "M:" or "M0:" | Memory Card drive 0 | | "M1:" | Memory Card drive 1 | | "U:" or "U0:" | USB Flash drive 0 | | "U1:" | USB Flash drive 1 | | "N:" or "N0:" | NAND Flash drive |
|