Correctly set INITIAL_SP for K64F

With the latest K64F linker file the initial stack is out of sync
with INITIAL_SP when uVisor is not present. This patch removes
the incorrect declaration.
pull/2402/head
Russ Butler 2016-08-03 14:31:45 -05:00
parent 16329fd2d9
commit 1d3d01f000
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ 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(FEATURE_UVISOR) && defined(TARGET_UVISOR_SUPPORTED) #if defined(__GNUC__) && !defined(__CC_ARM) /* GCC */
extern uint32_t __StackTop[]; extern uint32_t __StackTop[];
#define INITIAL_SP (__StackTop) #define INITIAL_SP (__StackTop)
#else #else