Changed startup_STM32F401xe.s & stm32f401xe.sct files to allow the use of the STM32F401RB

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Feb 16 10:30:07 2015 +0000
Parent:
475:a5319011ffc3
Child:
477:5831be29b0ad
Commit message:
Synchronized with git revision 4c8c94f4ef1f35b6a317063f38d97701caaced92

Full URL: https://github.com/mbedmicro/mbed/commit/4c8c94f4ef1f35b6a317063f38d97701caaced92/

Fix for #908, exit req std namespace

Changed in this revision

common/retarget.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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 {