Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.

Dependents:   Assignment_3__Embedded_Software

Fork of mbed-rtos by mbed official

Revision:
118:6635230e06ba
Parent:
8:88a1a9c26ae3
Child:
120:4dc938e301cc
--- a/rtos/rtos.h	Mon May 23 11:00:15 2016 +0100
+++ b/rtos/rtos.h	Mon Jul 25 14:12:24 2016 +0100
@@ -32,4 +32,13 @@
 
 using namespace rtos;
 
+/* Get mbed lib version number, as RTOS depends on mbed lib features
+   like mbed_error, Callback and others.
+*/
+#include "mbed.h"
+
+#if (MBED_LIBRARY_VERSION < 122)
+#error "This version of RTOS requires mbed library version > 121"
 #endif
+
+#endif