Inherit from Serial and use software buffers for TX and RX. This allows the UART peripherals to operate in a IRQ driven mode. Overrides most (but not all) stdio functions as Serial did
mbed os 5.1 support
some changes on callback parameters made some callback attachment using a deprecated syntax. This version make the call to the correct functions.