Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.
Dependents: denki-yohou_b TestY201 Network-RTOS NTPClient_HelloWorld ... more
Deprecated
This is the mbed 2 rtos library. mbed OS 5 integrates the mbed library with mbed-rtos. With this, we have provided thread safety for all mbed APIs. If you'd like to learn about using mbed OS 5, please see the docs.
Diff: rtos/rtos.h
- 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