USB composite device example program, drag-and-drop flash writer.
Dependencies: SWD USBDevice mbed BaseDAP
main.cpp
- Committer:
- va009039
- Date:
- 2013-09-17
- Revision:
- 0:2385683c867a
- Child:
- 1:ea8e179320d7
File content as of revision 0:2385683c867a:
#if 1 #include "mbed.h" #include "USBMSD_LPC.h" Serial pc(USBTX, USBRX); int main() { #ifdef TARGET_KL25Z USBMSD_LPC* LPC1114 = new USBMSD_LPC(PTB8,PTB9,PTB10,&pc); // SWDIO(dp12),SWCLK(dp3),nReset(dp23) #endif #ifdef TARGET_LPC1768 USBMSD_LPC* LPC1114 = new USBMSD_LPC(p21,p22,p17,&pc); // SWDIO(dp12),SWCLK(dp3),nReset(dp23) #endif while(1); // forever } #endif