The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
143:86740a56073b
Parent:
140:97feb9bacc10
Child:
145:64910690c574
--- a/TARGET_NUCLEO_F031K6/TARGET_STM/mbed_rtx.h	Wed May 10 11:31:27 2017 +0100
+++ b/TARGET_NUCLEO_F031K6/TARGET_STM/mbed_rtx.h	Fri May 26 12:30:20 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