mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
16329fd2d9
commit
1d3d01f000
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue