ads1115 only

Fork of mbed by mbed official

Revision:
132:9baf128c2fab
Parent:
128:9bcdf88f62b0
diff -r faff56e089b2 -r 9baf128c2fab TARGET_NUCLEO_F446ZE/TARGET_STM/mbed_rtx.h
--- a/TARGET_NUCLEO_F446ZE/TARGET_STM/mbed_rtx.h	Thu Dec 15 11:17:48 2016 +0000
+++ b/TARGET_NUCLEO_F446ZE/TARGET_STM/mbed_rtx.h	Tue Dec 20 15:36:52 2016 +0000
@@ -392,6 +392,21 @@
 #define OS_CLOCK                100000000
 #endif
 
+#elif defined(TARGET_STM32F412ZG)
+
+#ifndef INITIAL_SP
+#define INITIAL_SP              (0x20040000UL)
+#endif
+#ifndef OS_TASKCNT
+#define OS_TASKCNT              14
+#endif
+#ifndef OS_MAINSTKSIZE
+#define OS_MAINSTKSIZE          256
+#endif
+#ifndef OS_CLOCK
+#define OS_CLOCK                100000000
+#endif
+
 #elif defined(TARGET_STM32F446RE)
 
 #ifndef INITIAL_SP
@@ -584,7 +599,7 @@
 #define OS_MAINSTKSIZE          256
 #endif
 #ifndef OS_CLOCK
-#define OS_CLOCK                24000000
+#define OS_CLOCK                32000000
 #endif
 
 #elif defined(TARGET_NZ32_SC151)