Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.
Fork of mbed-rtos by
Diff: rtx/TARGET_CORTEX_A/rt_HAL_CM.h
- Revision:
- 120:19af2d39a542
- Parent:
- 92:bc9729798a19
--- a/rtx/TARGET_CORTEX_A/rt_HAL_CM.h Mon Jul 25 14:12:24 2016 +0100 +++ b/rtx/TARGET_CORTEX_A/rt_HAL_CM.h Wed Aug 10 16:09:20 2016 +0100 @@ -46,6 +46,11 @@ #undef __USE_EXCLUSIVE_ACCESS #endif +/* Supress __ldrex and __strex deprecated warnings - "#3731-D: intrinsic is deprecated" */ +#ifdef __USE_EXCLUSIVE_ACCESS +#pragma diag_suppress 3731 +#endif + #elif defined (__GNUC__) /* GNU Compiler */ #undef __USE_EXCLUSIVE_ACCESS