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:
140:97feb9bacc10
Parent:
128:9bcdf88f62b0
Child:
145:64910690c574
--- a/TARGET_RBLAB_NRF51822/TARGET_NORDIC/mbed_rtx.h	Thu Mar 30 13:26:47 2017 +0100
+++ b/TARGET_RBLAB_NRF51822/TARGET_NORDIC/mbed_rtx.h	Wed Apr 12 16:07:08 2017 +0100
@@ -55,6 +55,21 @@
 #define OS_CLOCK                64000000
 #endif
 
+#elif defined(TARGET_MCU_NRF52840)
+
+#ifndef INITIAL_SP
+#define INITIAL_SP              (0x20040000UL)
+#endif
+#ifndef OS_TASKCNT
+#define OS_TASKCNT              24
+#endif
+#ifndef OS_MAINSTKSIZE
+#define OS_MAINSTKSIZE          2048
+#endif
+#ifndef OS_CLOCK
+#define OS_CLOCK                64000000
 #endif
 
-#endif
+#endif // defined(TARGET_MCU_NRF51822)...
+
+#endif // #ifndef MBED_MBED_RTX_H