Skip to content

Compiler error for any target when stack dump is enabled #14432

@ghseb

Description

@ghseb

Description of defect
Compiler error due to undefined macro INITIAL_SP in

uint32_t msp_size = MAX(0, (int)INITIAL_SP - (int)msp_sp);

The related change was introduced via https://github.com/ARMmbed/mbed-os/pull/12140/files.

Target(s) affected by this defect ?
STM32

Toolchain(s) (name and version) displaying this defect ?
n/a

What version of Mbed-os are you using (tag or sha) ?
https://github.com/ARMmbed/mbed-os/tree/mbed-os-5.15.4

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
n/a

How is this defect reproduced ?
Set the following configuration parameters in mbed_app.json:

"platform.error-all-threads-info": true,
"platform.stack-dump-enabled": true,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions