cmsis-dap debug adapter

Dependencies:   BaseDAP L152RE_USBDevice L152RE_mbed-src SWD USBDAP

Fork of Simple-CMSIS-DAP by Norimasa Okamoto

CMSIS-DAP debug adapter. (not mbed-interface)
NUCLEO-L152RE-CMSIS-DAP

SWDNUCLEO-L152RE
SWDIOD12
SWCLKD10
nRESETD6

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Thu Jul 02 12:06:11 2015 +0000
Parent:
1:2957e24bb52f
Commit message:
add NUCLEO-L152RE.

Changed in this revision

L152RE_USBDevice.lib Show annotated file Show diff for this revision Revisions of this file
L152RE_mbed-src.lib Show annotated file Show diff for this revision Revisions of this file
USBDevice.lib 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 diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/L152RE_USBDevice.lib	Thu Jul 02 12:06:11 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/va009039/code/L152RE_USBDevice/#c3d0530b6d82
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/L152RE_mbed-src.lib	Thu Jul 02 12:06:11 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/va009039/code/L152RE_mbed-src/#42c5b5cfc728
--- a/USBDevice.lib	Sat Jul 05 08:26:21 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/USBDevice/#0c6524151939
--- a/main.cpp	Sat Jul 05 08:26:21 2014 +0000
+++ b/main.cpp	Thu Jul 02 12:06:11 2015 +0000
@@ -2,9 +2,15 @@
 #include "USBDAP.h"
 #include "BaseDAP.h"
 
+#if defined(TARGET_NUCLEO_L152RE)
+SWD swd(D12, D10, D6); // SWDIO,SWCLK,nRESET
+DigitalOut connected(LED1);
+int running = 0;
+#else
 SWD swd(D12, D10, D6); // SWDIO,SWCLK,nRESET
 DigitalOut connected(LED_GREEN);
 DigitalOut running(LED_RED);
+#endif
 
 class myDAP : public BaseDAP {
 public:
--- a/mbed.bld	Sat Jul 05 08:26:21 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/04dd9b1680ae
\ No newline at end of file