Makes the mbed library compile for the LPC11Cxx
Adds external hooks (weak) to the i2c library that allows an irq-based waiting scheme instead of a busyloop, suited to an RTOS.
Fix bug in #ifdef stdio error messages.
Allows calling USB disconnect from the crash handlers.
Fix compilation error in the face of -O flags.
Adds a timeout to I2C stop condition to prevent hanging the MCU when the i2c bus is broken.