Skip to content

mbed_error should provide a way to avoid linking to vprintf #7387

@NeilMacMullen

Description

@NeilMacMullen

Mbed 5.9.1

Even with NDEBUG defined, MBED_ERROR defines down to mbed_error which calls print_error_report which in turn uses the vprintf library. This adds between 6 and 7K (under gcc) which is a significant overhead when trying to build a minimal application (e.g. bootloader).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions