Skip to content

NUCLEO_L476RG, DISCO_L476VG RTOS test failed on ARM and GCC ARM #1845

Closed
@jamike

Description

@jamike

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions