Closed
Description
In release mbed_lib_rev121, RTOS test are failing.
This regression begins after commit ab3c1e3
"RTX: Support stacks larger than 64k"
The RTOS init cannot reach main function.
The INITAL_SP used for computing RTOS Main stack is defined at 0x20018000UL (rtos/TARGET_CORTEX_M/RTX_CM_lib.h)
while initial sp is defined in .ld file at 0x10008000 .
=> initial sp from .ld and INITIAL_SP are inconsistent
Either INITIAL_SP is changed in TARGET_CORTEX_M/RTX_CM_lib.h
or the IAR config which uses RAM at 0x20000000 (96Kbytes) instead of RAM at 0X10000000 (32kbytes) for ARM_STD and GCC_ARM.
Metadata
Metadata
Assignees
Labels
No labels