USB device stack; Added getter method for terminal_connected;

Fork of USBDevice by mbed official

Example of use:

#include "mbed.h"
#include "USBSerial.h"

USBSerial  pc;
DigitalOut blue_led(P0_20);

int main() {
    blue_led = 1;
    while(!pc.getTerminal_connected()); //Wait for serial terminal to connect...
    while(1) {
        blue_led = 0;
        wait(0.2);
        blue_led = 1;
        wait(0.2);
    }
}
Revision:
8:335f2506f422
Parent:
1:80ab0d068708
Child:
10:1e3d126a322b
--- a/USBDevice/USBEndpoints.h	Mon Jan 21 10:41:28 2013 +0000
+++ b/USBDevice/USBEndpoints.h	Fri Mar 01 13:10:29 2013 +0000
@@ -41,6 +41,8 @@
 #include "USBEndpoints_LPC17_LPC23.h"
 #elif defined(TARGET_LPC11U24)
 #include "USBEndpoints_LPC11U.h"
+#elif defined(TARGET_KL25Z)
+#include "USBEndpoints_KL25Z.h"
 #else
 #error "Unknown target type"
 #endif