mbed library sources. Supersedes mbed-src. Fixes analogIn and analogOut problems for TARGET_STM32F3. Tested on NUCLEO-F303K8, using 3 analogout and 7 analogin channels simultaneously. Added ability for STM32F334R8 and STM32F303K8 to use all three channels of DAC simultaneously. https://developer.mbed.org/users/StevieWray/code/mbed-dev/ Added ability for TARGET_STM32F3 to use more than one ADC simultaneously. https://developer.mbed.org/questions/67997/NUCLEO-F303K8ADC/

Fork of mbed-dev by mbed official

Revision:
63:5964504d61de
Parent:
0:9b334a45a8ff
diff -r d8964d7491c1 -r 5964504d61de common/retarget.cpp
--- a/common/retarget.cpp	Fri Feb 12 08:00:10 2016 +0000
+++ b/common/retarget.cpp	Mon Feb 15 09:00:10 2016 +0000
@@ -493,10 +493,7 @@
 #endif
 
 
-#ifdef TOOLCHAIN_GCC_CW
-// TODO: Ideally, we would like to define directly "_ExitProcess"
-extern "C" void mbed_exit(int return_code) {
-#elif defined TOOLCHAIN_GCC_ARM
+#if defined TOOLCHAIN_GCC_ARM
 extern "C" void _exit(int return_code) {
 #else
 namespace std {
@@ -520,7 +517,7 @@
     while (1);
 }
 
-#if !defined(TOOLCHAIN_GCC_ARM) && !defined(TOOLCHAIN_GCC_CW)
+#if !defined(TOOLCHAIN_GCC_ARM)
 } //namespace std
 #endif