File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 60
60
#undef __USE_EXCLUSIVE_ACCESS
61
61
#endif
62
62
63
+ /* Supress __ldrex and __strex deprecated warnings - "#3731-D: intrinsic is deprecated" */
64
+ #ifdef __USE_EXCLUSIVE_ACCESS
65
+ #pragma diag_suppress 3731
66
+ #endif
67
+
63
68
#elif defined (__GNUC__ ) /* GNU Compiler */
64
69
65
70
#undef __USE_EXCLUSIVE_ACCESS
Original file line number Diff line number Diff line change 46
46
#undef __USE_EXCLUSIVE_ACCESS
47
47
#endif
48
48
49
+ /* Supress __ldrex and __strex deprecated warnings - "#3731-D: intrinsic is deprecated" */
50
+ #ifdef __USE_EXCLUSIVE_ACCESS
51
+ #pragma diag_suppress 3731
52
+ #endif
53
+
49
54
#elif defined (__GNUC__ ) /* GNU Compiler */
50
55
51
56
#undef __USE_EXCLUSIVE_ACCESS
Original file line number Diff line number Diff line change 47
47
#undef __USE_EXCLUSIVE_ACCESS
48
48
#endif
49
49
50
+ /* Supress __ldrex and __strex deprecated warnings - "#3731-D: intrinsic is deprecated" */
51
+ #ifdef __USE_EXCLUSIVE_ACCESS
52
+ #pragma diag_suppress 3731
53
+ #endif
54
+
50
55
#ifndef __CMSIS_GENERIC
51
56
#define __DMB () do {\
52
57
__schedule_barrier();\
You can’t perform that action at this time.
0 commit comments