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 6060 #undef __USE_EXCLUSIVE_ACCESS
6161#endif
6262
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+
6368#elif defined (__GNUC__ ) /* GNU Compiler */
6469
6570#undef __USE_EXCLUSIVE_ACCESS
Original file line number Diff line number Diff line change 4646 #undef __USE_EXCLUSIVE_ACCESS
4747#endif
4848
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+
4954#elif defined (__GNUC__ ) /* GNU Compiler */
5055
5156#undef __USE_EXCLUSIVE_ACCESS
Original file line number Diff line number Diff line change 4747 #undef __USE_EXCLUSIVE_ACCESS
4848#endif
4949
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+
5055#ifndef __CMSIS_GENERIC
5156#define __DMB () do {\
5257 __schedule_barrier();\
You can’t perform that action at this time.
0 commit comments