Nummer 0.1 Werkt nog niet volledig
Fork of mbed-rtos by
Revision 70:3295e347fd88, committed 2015-04-08
- Comitter:
- mbed_official
- Date:
- Wed Apr 08 07:30:42 2015 +0100
- Parent:
- 69:94c39314568d
- Child:
- 71:570e569a5b59
- Commit message:
- Synchronized with git revision 78c43352e9fed0d91de9d5b070cfef639dc95dc1
Full URL: https://github.com/mbedmicro/mbed/commit/78c43352e9fed0d91de9d5b070cfef639dc95dc1/
RZ_A1H - Fix a bug that there is a case that can not be normal communication in I2C.
Changed in this revision
--- a/rtx/TARGET_CORTEX_A/rt_CMSIS.c Tue Mar 31 16:15:17 2015 +0100 +++ b/rtx/TARGET_CORTEX_A/rt_CMSIS.c Wed Apr 08 07:30:42 2015 +0100 @@ -2066,6 +2066,10 @@ return osMessagePut(*((void **)queue_id), (uint32_t)mail, 0); } +#ifdef __arm__ +#pragma push +#pragma Ospace +#endif // __arm__ /// Get a mail from a queue os_InRegs osEvent osMailGet (osMailQId queue_id, uint32_t millisec) { osEvent ret; @@ -2080,3 +2084,6 @@ return ret; } +#ifdef __arm__ +#pragma pop +#endif // __arm__
--- a/rtx/TARGET_CORTEX_M/rt_CMSIS.c Tue Mar 31 16:15:17 2015 +0100 +++ b/rtx/TARGET_CORTEX_M/rt_CMSIS.c Wed Apr 08 07:30:42 2015 +0100 @@ -1862,6 +1862,10 @@ return osMessagePut(*((void **)queue_id), (uint32_t)mail, 0); } +#ifdef __arm__ +#pragma push +#pragma Ospace +#endif // __arm__ /// Get a mail from a queue os_InRegs osEvent osMailGet (osMailQId queue_id, uint32_t millisec) { osEvent ret; @@ -1876,3 +1880,6 @@ return ret; } +#ifdef __arm__ +#pragma pop +#endif // __arm__