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.

Revision:
10:fcb1f103f7a1
Parent:
6:350b53afb889
Child:
11:db1fc233faa9
--- a/rtx/rt_CMSIS.c	Mon Jan 28 14:46:06 2013 +0000
+++ b/rtx/rt_CMSIS.c	Wed Apr 24 14:45:21 2013 +0000
@@ -40,6 +40,8 @@
   #include "core_cm3.h"
 #elif defined (__CORTEX_M0)
   #include "core_cm0.h"
+#elif defined (__CORTEX_M0PLUS)
+  #include "core_cm0plus.h"
 #else
   #error "Missing __CORTEX_Mx definition"
 #endif
@@ -192,7 +194,7 @@
   SVC_ArgR(2,t3,a3)                                                            \
   SVC_ArgR(3,t4,a4)
 
-#if (defined (__CORTEX_M0))
+#if (defined (__CORTEX_M0)) || defined (__CORTEX_M0PLUS)
 #define SVC_Call(f)                                                            \
   __asm volatile                                                                 \
   (                                                                            \