Skip to content

Commit fd592d0

Browse files
d-kato0xc0170
authored andcommitted
Back to the original : "rtx_core_ca.h"
1 parent fa3320d commit fd592d0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,6 @@ static __asm uint32_t __get_PSP (void) {
112112
sub r0, r0, #32
113113
bx lr
114114
}
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-
}
127115
#else
128116
#ifdef __ICCARM__
129117
__arm

0 commit comments

Comments
 (0)