USBLocalFileSystem.lib testing program for LPC11U35

Dependencies:   BaseDAP SWD USBDAP USBLocalFileSystem mbed DA14580 SWSPI W25X40BV

USB memory + Writer for DA14580 BLE chip + CMSIS-DAP debugger + USB-UART functions in one chip

One button input loads your application into DA14580 or DA14580 included BLE modules

Quote:

Current compatible hardware description can be found at https://github.com/K4zuki/da14580/releases/tag/MurataBLEr04

Revision:
9:e279dee6e41c
Parent:
6:cb6984367a7a
--- a/mystorage.h	Sat Mar 05 01:50:01 2016 +0000
+++ b/mystorage.h	Wed Mar 09 04:15:46 2016 +0000
@@ -12,9 +12,21 @@
 public:
     MyStorage(PinName mosi, PinName miso, PinName sclk, PinName cs);
 
+    /** read 512bytes from memory;
+    @param data
+    @param block numbered from 0
+    */
     virtual int storage_read(uint8_t* data, uint32_t block);
+    /** write 512bytes to memory;
+    @param data
+    @param block numbered from 0
+    */
     virtual int storage_write(const uint8_t* data, uint32_t block);
+    /** returns number of 512byte sectors in storage;
+    */
     virtual uint32_t storage_sectors();
+    /** returns size of storage in bytes;
+    */
     virtual uint32_t storage_size();
 
 private: