USB composite device example program, drag-and-drop flash writer.

Dependencies:   SWD USBDevice mbed BaseDAP

tests/test_RomDisk.cpp

Committer:
va009039
Date:
2013-09-17
Revision:
0:2385683c867a
Child:
1:ea8e179320d7

File content as of revision 0:2385683c867a:

#if 0
#include "mbed.h"
#include "USBMSD_LPC.h"

#include "mytest.h"
#include "mydebug.h"

Serial pc(USBTX, USBRX);

TEST(RomDisk1,test1) {
#ifdef TARGET_LPC1768
    USBMSD_LPC* LPC1114 = new USBMSD_LPC(p21,p22,p17,&pc); // SWDIO(dp12),SWCLK(dp3),nReset(dp23) 
#endif
#ifdef TARGET_KL25Z
    USBMSD_LPC* LPC1114 = new USBMSD_LPC(PTB8,PTB9,PTB10,&pc); // SWDIO(dp12),SWCLK(dp3),nReset(dp23)
#endif

    while(1); // forever
}

int main() {
    pc.baud(921600);
    //pc.baud(9600);
    DBG("%s", __FILE__);

    RUN_ALL_TESTS();
    exit(0);
}
#endif