Stuart Kent
/
z_test_BlueUSBv1
BlueUSBv1 fork with no FAT file system
Fork of BlueUSBv1 by
Revision 2:7f4915fe5708, committed 2014-11-18
- Comitter:
- ballaw
- Date:
- Tue Nov 18 18:42:28 2014 +0000
- Parent:
- 1:12422708d6c8
- Commit message:
- Got to compile with no FAT file system. Haven't tested yet though
Changed in this revision
diff -r 12422708d6c8 -r 7f4915fe5708 AutoEvents.cpp --- a/AutoEvents.cpp Tue Nov 18 00:11:42 2014 +0000 +++ b/AutoEvents.cpp Tue Nov 18 18:42:28 2014 +0000 @@ -128,7 +128,7 @@ } // Implemented in main.cpp -int OnDiskInsert(int device); +//int OnDiskInsert(int device); // Implemented in TestShell.cpp int OnBluetoothInsert(int device); @@ -149,7 +149,7 @@ { case CLASS_MASS_STORAGE: if (interfaceDesc->bInterfaceSubClass == 0x06 && interfaceDesc->bInterfaceProtocol == 0x50) - OnDiskInsert(device); // it's SCSI! + //OnDiskInsert(device); // it's SCSI! break; case CLASS_WIRELESS_CONTROLLER: if (interfaceDesc->bInterfaceSubClass == 0x01 && interfaceDesc->bInterfaceProtocol == 0x01)
diff -r 12422708d6c8 -r 7f4915fe5708 FatFileSystemCpp.lib --- a/FatFileSystemCpp.lib Tue Nov 18 00:11:42 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://developer.mbed.org/users/igorsk/code/FatFileSystemCpp/#88f22c32a456
diff -r 12422708d6c8 -r 7f4915fe5708 main.cpp --- a/main.cpp Tue Nov 18 00:11:42 2014 +0000 +++ b/main.cpp Tue Nov 18 18:42:28 2014 +0000 @@ -23,12 +23,12 @@ #include "mbed.h" #include "USBHost.h" #include "Utils.h" -#include "FATFileSystem.h" +//#include "FATFileSystem.h" int MassStorage_ReadCapacity(int device, u32* blockCount, u32* blockSize); int MassStorage_Read(int device, u32 blockAddr, u32 blockCount, u8* dst, u32 blockSize); int MassStorage_Write(int device, u32 blockAddr, u32 blockCount, u8* dst, u32 blockSize); - +/* class USBFileSystem : public FATFileSystem { int _device; @@ -95,7 +95,7 @@ DumpFS(0,0); return 0; } - +*/ /* Simple test shell to exercise mouse,keyboard,mass storage and hubs. Add 2 15k pulldown resistors between D+/D- and ground, attach a usb socket and have at it.