File tree Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 53
53
#ifndef __NO_RETURN
54
54
#define __NO_RETURN __declspec(noreturn)
55
55
#endif
56
- #ifndef __DEPRECATED
57
- #define __DEPRECATED __attribute__((deprecated))
56
+ #ifndef CMSIS_DEPRECATED
57
+ #define CMSIS_DEPRECATED __attribute__((deprecated))
58
58
#endif
59
59
#ifndef __USED
60
60
#define __USED __attribute__((used))
Original file line number Diff line number Diff line change 50
50
#ifndef __NO_RETURN
51
51
#define __NO_RETURN __attribute__((__noreturn__))
52
52
#endif
53
- #ifndef __DEPRECATED
54
- #define __DEPRECATED __attribute__((deprecated))
53
+ #ifndef CMSIS_DEPRECATED
54
+ #define CMSIS_DEPRECATED __attribute__((deprecated))
55
55
#endif
56
56
#ifndef __USED
57
57
#define __USED __attribute__((used))
Original file line number Diff line number Diff line change 79
79
#ifndef __NO_RETURN
80
80
#define __NO_RETURN __attribute__((noreturn))
81
81
#endif
82
- #ifndef __DEPRECATED
83
- #define __DEPRECATED __attribute__((deprecated))
82
+ #ifndef CMSIS_DEPRECATED
83
+ #define CMSIS_DEPRECATED __attribute__((deprecated))
84
84
#endif
85
85
#ifndef __USED
86
86
#define __USED __attribute__((used))
125
125
#ifndef __NO_RETURN
126
126
#define __NO_RETURN __attribute__((noreturn))
127
127
#endif
128
- #ifndef __DEPRECATED
129
- #define __DEPRECATED __attribute__((deprecated))
128
+ #ifndef CMSIS_DEPRECATED
129
+ #define CMSIS_DEPRECATED __attribute__((deprecated))
130
130
#endif
131
131
#ifndef __USED
132
132
#define __USED __attribute__((used))
172
172
#warning No compiler specific solution for __USED. __USED is ignored.
173
173
#define __USED
174
174
#endif
175
- #ifndef __DEPRECATED
176
- #warning No compiler specific solution for __DEPRECATED. __DEPRECATED is ignored.
177
- #define __DEPRECATED
175
+ #ifndef CMSIS_DEPRECATED
176
+ #warning No compiler specific solution for CMSIS_DEPRECATED. CMSIS_DEPRECATED is ignored.
177
+ #define CMSIS_DEPRECATED
178
178
#endif
179
179
#ifndef __WEAK
180
180
#define __WEAK __weak
Original file line number Diff line number Diff line change 55
55
#ifndef __NO_RETURN
56
56
#define __NO_RETURN __attribute__((__noreturn__))
57
57
#endif
58
- #ifndef __DEPRECATED
59
- #define __DEPRECATED __attribute__((deprecated))
58
+ #ifndef CMSIS_DEPRECATED
59
+ #define CMSIS_DEPRECATED __attribute__((deprecated))
60
60
#endif
61
61
#ifndef __USED
62
62
#define __USED __attribute__((used))
Original file line number Diff line number Diff line change 124
124
#define __STATIC_FORCEINLINE __FORCEINLINE __STATIC_INLINE
125
125
#endif
126
126
127
- #ifndef __DEPRECATED
128
- #define __DEPRECATED __attribute__((deprecated))
127
+ #ifndef CMSIS_DEPRECATED
128
+ #define CMSIS_DEPRECATED __attribute__((deprecated))
129
129
#endif
130
130
131
131
#ifndef __UNALIGNED_UINT16_READ
Original file line number Diff line number Diff line change @@ -1010,7 +1010,7 @@ __STATIC_FORCEINLINE void L1C_CleanInvalidateCache(uint32_t op) {
1010
1010
* \param [in] op 0 - invalidate, 1 - clean, otherwise - invalidate and clean
1011
1011
* \deprecated Use generic L1C_CleanInvalidateCache instead.
1012
1012
*/
1013
- __DEPRECATED
1013
+ CMSIS_DEPRECATED
1014
1014
__STATIC_FORCEINLINE void __L1C_CleanInvalidateCache (uint32_t op ) {
1015
1015
L1C_CleanInvalidateCache (op );
1016
1016
}
You can’t perform that action at this time.
0 commit comments