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:
- 479:4dac56e9ae44
- Parent:
- 476:44b5a0bc6da6
- Child:
- 485:d9a48e768ce0
--- a/common/retarget.cpp Mon Feb 16 08:45:06 2015 +0000 +++ b/common/retarget.cpp Mon Feb 16 10:30:07 2015 +0000 @@ -493,6 +493,7 @@ #elif defined TOOLCHAIN_GCC_ARM extern "C" void _exit(int return_code) { #else +namespace std { extern "C" void exit(int return_code) { #endif @@ -513,6 +514,10 @@ while (1); } +#if !defined(TOOLCHAIN_GCC_ARM) && !defined(TOOLCHAIN_GCC_CW) +} //namespace std +#endif + namespace mbed {