USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.

Dependencies:   FATFileSystem mbed-rtos

Dependents:   BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more

Issue: Error compiling

Hi, I'm trying to use USBHost and USBHostMSD to write file to an usb disk. When I import this library to my project and compile i get this error:

Error: Return type is not identical to nor covariant with return type "std::uint64_t" of overridden virtual function "FATFileSystem::disk_sectors" in "USBHost/USBHostMSD/USBHostMSD.h", Line: 65, Col: 23

Same issure if I import the demo program USBHostMSD_HelloWorld and update library.


13 Apr 2016

Please report this to . There were some updates to FATFileSystem, might be worth referencing them if they caused this regression. WE should look at it


13 Apr 2016


29 Apr 2016

Any news? I reported problem as you suggested but I had no reply.