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 5353#ifndef __NO_RETURN
5454 #define __NO_RETURN __declspec(noreturn)
5555#endif
56- #ifndef __DEPRECATED
57- #define __DEPRECATED __attribute__((deprecated))
56+ #ifndef CMSIS_DEPRECATED
57+ #define CMSIS_DEPRECATED __attribute__((deprecated))
5858#endif
5959#ifndef __USED
6060 #define __USED __attribute__((used))
Original file line number Diff line number Diff line change 5050#ifndef __NO_RETURN
5151 #define __NO_RETURN __attribute__((__noreturn__))
5252#endif
53- #ifndef __DEPRECATED
54- #define __DEPRECATED __attribute__((deprecated))
53+ #ifndef CMSIS_DEPRECATED
54+ #define CMSIS_DEPRECATED __attribute__((deprecated))
5555#endif
5656#ifndef __USED
5757 #define __USED __attribute__((used))
Original file line number Diff line number Diff line change 7979 #ifndef __NO_RETURN
8080 #define __NO_RETURN __attribute__((noreturn))
8181 #endif
82- #ifndef __DEPRECATED
83- #define __DEPRECATED __attribute__((deprecated))
82+ #ifndef CMSIS_DEPRECATED
83+ #define CMSIS_DEPRECATED __attribute__((deprecated))
8484 #endif
8585 #ifndef __USED
8686 #define __USED __attribute__((used))
125125 #ifndef __NO_RETURN
126126 #define __NO_RETURN __attribute__((noreturn))
127127 #endif
128- #ifndef __DEPRECATED
129- #define __DEPRECATED __attribute__((deprecated))
128+ #ifndef CMSIS_DEPRECATED
129+ #define CMSIS_DEPRECATED __attribute__((deprecated))
130130 #endif
131131 #ifndef __USED
132132 #define __USED __attribute__((used))
172172 #warning No compiler specific solution for __USED. __USED is ignored.
173173 #define __USED
174174 #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
178178 #endif
179179 #ifndef __WEAK
180180 #define __WEAK __weak
Original file line number Diff line number Diff line change 5555#ifndef __NO_RETURN
5656 #define __NO_RETURN __attribute__((__noreturn__))
5757#endif
58- #ifndef __DEPRECATED
59- #define __DEPRECATED __attribute__((deprecated))
58+ #ifndef CMSIS_DEPRECATED
59+ #define CMSIS_DEPRECATED __attribute__((deprecated))
6060#endif
6161#ifndef __USED
6262 #define __USED __attribute__((used))
Original file line number Diff line number Diff line change 124124 #define __STATIC_FORCEINLINE __FORCEINLINE __STATIC_INLINE
125125#endif
126126
127- #ifndef __DEPRECATED
128- #define __DEPRECATED __attribute__((deprecated))
127+ #ifndef CMSIS_DEPRECATED
128+ #define CMSIS_DEPRECATED __attribute__((deprecated))
129129#endif
130130
131131#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) {
10101010* \param [in] op 0 - invalidate, 1 - clean, otherwise - invalidate and clean
10111011* \deprecated Use generic L1C_CleanInvalidateCache instead.
10121012*/
1013- __DEPRECATED
1013+ CMSIS_DEPRECATED
10141014__STATIC_FORCEINLINE void __L1C_CleanInvalidateCache (uint32_t op ) {
10151015 L1C_CleanInvalidateCache (op );
10161016}
You can’t perform that action at this time.
0 commit comments