asd
Fork of mbed-rtos by
Diff: rtx/TARGET_CORTEX_M/rt_HAL_CM.h
- Revision:
- 119:19af2d39a542
- Parent:
- 118:6635230e06ba
- Child:
- 123:58563e6cba1e
--- a/rtx/TARGET_CORTEX_M/rt_HAL_CM.h Mon Jul 25 14:12:24 2016 +0100
+++ b/rtx/TARGET_CORTEX_M/rt_HAL_CM.h Wed Aug 10 16:09:20 2016 +0100
@@ -47,6 +47,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
+
#ifndef __CMSIS_GENERIC
#define __DMB() do {\
__schedule_barrier();\
