2013-10-31 01:26 AM
formatting usb f_mkfs return only FR_MKFS_ABORTED,
changed in file usbh_msc_fatfs.c -->disk_ioctl function ////////////////////////////////////////////////////case GET_BLOCK_SIZE : /* Get erase block size in unit of sector (DWORD) */
*(DWORD*)buff = 512; res = RES_OK; break;//////////////////////////////////////////////////////////res = RES_OK; was not there i have edited it so the f_mkfs works fine
f_mkfs(0,0,0); #usb #fatfs #otg #fs #stm32