mbed

Fork of mbed-dev by mbed official

Revision:
165:e614a9f1c9e2
Parent:
162:e13f6fdb2ac4
Child:
167:e84263d55307
diff -r 289d4deac6e4 -r e614a9f1c9e2 targets/TARGET_STM/mbed_rtx.h
--- a/targets/TARGET_STM/mbed_rtx.h	Wed May 10 12:06:41 2017 +0100
+++ b/targets/TARGET_STM/mbed_rtx.h	Fri May 26 12:39:01 2017 +0100
@@ -572,6 +572,21 @@
 #define OS_CLOCK                32000000
 #endif
 
+#elif defined(TARGET_STM32L072CZ)
+
+#ifndef INITIAL_SP
+#define INITIAL_SP              (0x20005000UL)
+#endif
+#ifndef OS_TASKCNT
+#define OS_TASKCNT              6
+#endif
+#ifndef OS_MAINSTKSIZE
+#define OS_MAINSTKSIZE          112
+#endif
+#ifndef OS_CLOCK
+#define OS_CLOCK                32000000
+#endif
+
 #elif defined(TARGET_STM32L073RZ)
 
 #ifndef INITIAL_SP