USBclock 48Mhz, enable serial4 and serial5.
Fork of mbed-src by
Import programL152RE_serial45_example
NUCLEO-L152RE serial4,5 test program
Diff: common/retarget.cpp
- Revision:
- 476:4dac56e9ae44
- Parent:
- 473:44b5a0bc6da6
- Child:
- 482:d9a48e768ce0
diff -r a5319011ffc3 -r 4dac56e9ae44 common/retarget.cpp --- 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 {