We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aebee0 commit 0ef1620Copy full SHA for 0ef1620
rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h
@@ -112,18 +112,6 @@ static __asm uint32_t __get_PSP (void) {
112
sub r0, r0, #32
113
bx lr
114
}
115
-#elif (defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) || defined ( __GNUC__ )
116
-__STATIC_INLINE __attribute__((naked)) uint32_t __get_PSP (void) {
117
- __ASM volatile (
118
- ".syntax unified\n\t"
119
- ".arm\n\t"
120
- "sub sp,sp,#4\n\t"
121
- "stm sp,{sp}^\n\t"
122
- "pop {r0}\n\t"
123
- "sub r0,r0,#32\n\t"
124
- "bx lr\n\t"
125
- );
126
-}
127
#else
128
#ifdef __ICCARM__
129
__arm
0 commit comments