Skip to content

Uvision optimisation level #11068

@chrissnow

Description

@chrissnow

Description

The default optimisation level is O0 which wastes a lot of resources.

I think O1 is a more appropriate level as dead code\variables are removed without causing debugging issues.

From
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472k/chr1359124221739.html

Although the debug view produced by -O0 corresponds most closely to the source code, users might prefer the debug view produced by -O1 because this improves the quality of the code without changing the fundamental structure.

Happy to sort a PR if this seems reasonable.

Issue request type

[ ] Question
[X] Enhancement
[ ] Bug

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