K64F: Revert to hardcoded stack pointer in RTX

pull/2590/head
Alessandro Angelino 2016-08-26 17:11:46 +01:00 committed by 0xc0170
parent bd770b569d
commit 776e81b81a
1 changed files with 1 additions and 5 deletions

View File

@ -421,12 +421,8 @@ osThreadDef_t os_thread_def_main = {(os_pthread)pre_main, osPriorityNormal, 1U,
#define INITIAL_SP (0x20003000UL) #define INITIAL_SP (0x20003000UL)
#elif defined(TARGET_K64F) #elif defined(TARGET_K64F)
#if defined(__GNUC__) && !defined(__CC_ARM) /* GCC */
extern uint32_t __StackTop[];
#define INITIAL_SP (__StackTop)
#else
#define INITIAL_SP (0x20030000UL) #define INITIAL_SP (0x20030000UL)
#endif
#if defined(__CC_ARM) || defined(__GNUC__) #if defined(__CC_ARM) || defined(__GNUC__)
#define ISR_STACK_SIZE (0x1000) #define ISR_STACK_SIZE (0x1000)
#endif #endif