Skip to content

Linker error with version 2.7.1 for STM32 Nucleo F446RE #2244

Closed
@npalix

Description

@npalix

The error is

arm-none-eabi-g++: warning: {compiler.optimization_flags}: linker input file unused because linking not done
arm-none-eabi-g++: error: {compiler.optimization_flags}: linker input file not found: No such file or directory

The issue comes from the platform file.

compiler.optimization_flags={compiler.optimization_flags}

Setting the line to compiler.optimization_flags={build.flags.optimize} fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions