CMSIS-DAP debug adapter
Dependencies: BaseDAP SWD USBDAP USBDevice mbed
Fork of Simple-CMSIS-DAP by
SWD | TG-LPC11U35-501 |
---|---|
SWDIO | p6(P0_8) |
SWCLK | p8(P0_7) |
nRESET | p30(P0_1) |
Revision 2:f9c48f0a3efe, committed 2015-07-05
- Comitter:
- va009039
- Date:
- Sun Jul 05 00:18:37 2015 +0000
- Parent:
- 1:2957e24bb52f
- Commit message:
- add TG-LPC11U35-501
Changed in this revision
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