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

Files at this revision

API Documentation at this revision

Comitter:
k4zuki
Date:
Sat Aug 19 10:45:02 2017 +0000
Parent:
12:417eb27c4146
Commit message:
works every other time when pressing TARGET button

Changed in this revision

SWSPI.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SWSPI.lib	Fri Aug 12 06:37:48 2016 +0000
+++ b/SWSPI.lib	Sat Aug 19 10:45:02 2017 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/k4zuki/code/SWSPI/#8c6310f2038f
+https://developer.mbed.org/users/k4zuki/code/SWSPI/#a8ef62fa9c4c
--- a/main.cpp	Fri Aug 12 06:37:48 2016 +0000
+++ b/main.cpp	Sat Aug 19 10:45:02 2017 +0000
@@ -115,9 +115,10 @@
         "CRC MISMATCHED"
     };
 
-    int result = 0;
+   
     TGT_RST_IN.mode(PullUp);
     TGT_RST_IN.fall(&TGT_RST_IN_int);
+    int result = 0;
 
     bool _hidresult;
     usb_local->lock(false);