mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Jul 31 13:45:07 2014 +0100
Parent:
268:402bcc0c870b
Child:
270:e2babe29baf8
Commit message:
Synchronized with git revision dd71fab893892a11e3cc82b3b40714922b823099

Full URL: https://github.com/mbedmicro/mbed/commit/dd71fab893892a11e3cc82b3b40714922b823099/

Bugfix: Make redirected stdio write initialize UART

Changed in this revision

common/retarget.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/common/retarget.cpp	Tue Jul 29 19:00:07 2014 +0100
+++ b/common/retarget.cpp	Thu Jul 31 13:45:07 2014 +0100
@@ -227,6 +227,7 @@
     if (fh < 3) {
         // only read a character at a time from stdin
 #if DEVICE_SERIAL
+        if (!stdio_uart_inited) init_serial();
         *buffer = serial_getc(&stdio_uart);
 #endif
         n = 1;