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

Dependents:   Final_Coffee_Roaster

Fork of mbed-rtos by mbed official

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                                                                 \
   (                                                                            \