The function fdefrag defragments the Embedded File System. The parameter drive is a character pointer specifying the drive letter. The function is included in the RL-FlashFS library. The prototype is defined in the file rtl.h. The following values are allowed for the parameter drive: | drive | Device Type |
|---|
| "" | Default System drive as defined in the file File_Config.c | | "F:" or "F0:" | Flash drive | | "S:" or "S0:" | SPI Flash drive | | "R:" or "R0:" | RAM drive |
|