UraGun (01.02.2014 11:46 - 04.02.2014 12:31, просмотров: 89) ответил atlant на Оно!
Ювэлкам :) Давайте выложим здесь, мошт кому ещё пригодится. fatfs f_mkfs usb
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);