From 0ef1620ffbc47b9ed616020b64feb1849e4f2444 Mon Sep 17 00:00:00 2001 From: d-kato Date: Tue, 5 Feb 2019 19:52:12 +0900 Subject: [PATCH] Back to the original : "rtx_core_ca.h" --- rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h b/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h index 9d462877da..e367c19276 100644 --- a/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h +++ b/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_core_ca.h @@ -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