Skip to content

Commit

Permalink
Back to the original : "rtx_core_ca.h"
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kato authored and SenRamakri committed Feb 20, 2019
1 parent 1d4bcee commit bcd2bcd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,6 @@ static __asm uint32_t __get_PSP (void) {
sub r0, r0, #32
bx lr
}
#elif (defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) || defined ( __GNUC__ )
__STATIC_INLINE __attribute__((naked)) uint32_t __get_PSP (void) {
__ASM volatile (
".syntax unified\n\t"
".arm\n\t"
"sub sp,sp,#4\n\t"
"stm sp,{sp}^\n\t"
"pop {r0}\n\t"
"sub r0,r0,#32\n\t"
"bx lr\n\t"
);
}
#else
#ifdef __ICCARM__
__arm
Expand Down

0 comments on commit bcd2bcd

Please sign in to comment.