mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.
Diff: common/retarget.cpp
- Revision:
- 269:0e58554f11d5
- Parent:
- 251:de9a1e4ffd79
- Child:
- 284:859ffaa7c331
diff -r 402bcc0c870b -r 0e58554f11d5 common/retarget.cpp --- 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;