2, 调用f_mkfs函数格式化之后 f_mkfs("0", FM_FAT32, 4096, work, sizeof(work)); Fatfs读写...
FatFS r0.15 f_mkfs 参数说明 1/**2* @brief 格式化3* @param path:磁盘路径,比如"0:","1:"4* @param mode: FM_FAT, FM_FAT32, FM_EXFAT and FM_SFD5* @param au:簇大小6* @retval 执行结果7*/8uint8_t mf_fmkfs(uint8_t*path,uint8_t mode,uint16_t au)9{10BYTE work[FF_MAX_S...
res = f_mkfs("", FM_FAT32, 0, work, sizeof(work));} break;case 1:{ /* Create FAT ...
Use with caution! Regarding "I wonder if -F 16 is actually needed for mkfs.vfat ?" in #2576 (comment) on my SLES11 test system 'man mkfs.vfat' also reads -F FAT-size Specifies the type of file allocation tables used (12, 16 or 32 bit). If nothing is specified, mkfs.fat will ...