CMSIS-DAP debug adapter

Dependencies:   BaseDAP SWD USBDAP USBDevice mbed

Fork of Simple-CMSIS-DAP by Norimasa Okamoto

SWDTG-LPC11U35-501
SWDIOp6(P0_8)
SWCLKp8(P0_7)
nRESETp30(P0_1)

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Sun Jul 05 00:18:37 2015 +0000
Parent:
1:2957e24bb52f
Commit message:
add TG-LPC11U35-501

Changed in this revision

USBDevice.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 2957e24bb52f -r f9c48f0a3efe USBDevice.lib
--- a/USBDevice.lib	Sat Jul 05 08:26:21 2014 +0000
+++ b/USBDevice.lib	Sun Jul 05 00:18:37 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/USBDevice/#0c6524151939
+http://mbed.org/users/mbed_official/code/USBDevice/#7a8dce0a3c84
diff -r 2957e24bb52f -r f9c48f0a3efe main.cpp
--- a/main.cpp	Sat Jul 05 08:26:21 2014 +0000
+++ b/main.cpp	Sun Jul 05 00:18:37 2015 +0000
@@ -2,9 +2,15 @@
 #include "USBDAP.h"
 #include "BaseDAP.h"
 
+#if defined(TARGET_MCU_LPC11U35_501)
+SWD swd(p6, p8, p30); // SWDIO,SWCLK,nRESET
+DigitalOut connected(LED1);
+DigitalOut running(LED2);
+#else
 SWD swd(D12, D10, D6); // SWDIO,SWCLK,nRESET
 DigitalOut connected(LED_GREEN);
 DigitalOut running(LED_RED);
+#endif
 
 class myDAP : public BaseDAP {
 public:
diff -r 2957e24bb52f -r f9c48f0a3efe mbed.bld
--- a/mbed.bld	Sat Jul 05 08:26:21 2014 +0000
+++ b/mbed.bld	Sun Jul 05 00:18:37 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/04dd9b1680ae
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7
\ No newline at end of file