Rtos code cntains bug possible incompatability with I2C

Fork of mbed-rtos by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Fri Apr 10 07:16:43 2015 +0100
Parent:
71:570e569a5b59
Child:
73:34292fba723c
Commit message:
Synchronized with git revision 8311bafba5b8684f95626e096aef2dc8cc6805bf

Full URL: https://github.com/mbedmicro/mbed/commit/8311bafba5b8684f95626e096aef2dc8cc6805bf/

MAXWSNENV - Fixing comments in startup file for ARM compiler.

Changed in this revision

rtx/TARGET_CORTEX_A/rt_CMSIS.c Show annotated file Show diff for this revision Revisions of this file
rtx/TARGET_CORTEX_M/rt_CMSIS.c Show annotated file Show diff for this revision Revisions of this file
--- a/rtx/TARGET_CORTEX_A/rt_CMSIS.c	Wed Apr 08 07:46:03 2015 +0100
+++ b/rtx/TARGET_CORTEX_A/rt_CMSIS.c	Fri Apr 10 07:16:43 2015 +0100
@@ -2066,7 +2066,7 @@
   return osMessagePut(*((void **)queue_id), (uint32_t)mail, 0);
 }
 
-#ifdef __arm__
+#ifdef __CC_ARM
 #pragma push
 #pragma Ospace
 #endif // __arm__
@@ -2084,6 +2084,6 @@
 
   return ret;
 }
-#ifdef __arm__
+#ifdef __CC_ARM
 #pragma pop
 #endif // __arm__
--- a/rtx/TARGET_CORTEX_M/rt_CMSIS.c	Wed Apr 08 07:46:03 2015 +0100
+++ b/rtx/TARGET_CORTEX_M/rt_CMSIS.c	Fri Apr 10 07:16:43 2015 +0100
@@ -1862,7 +1862,7 @@
   return osMessagePut(*((void **)queue_id), (uint32_t)mail, 0);
 }
 
-#ifdef __arm__
+#ifdef __CC_ARM
 #pragma push
 #pragma Ospace
 #endif // __arm__
@@ -1880,6 +1880,6 @@
 
   return ret;
 }
-#ifdef __arm__
+#ifdef __CC_ARM
 #pragma pop
 #endif // __arm__