Skip to content

Improper build support for multi-target ARM + Risc-V project #496

@nvitya

Description

@nvitya

Description

Hi,

I've created a project with multiple build configurations. The project was originally created with Risc-V target, and then I've added a build configuration with ARM (Cortex-M). The build configuration for ARM is not fully supported. At the Project properties / "C/C++ Build" / "Settings" / "Toolchains" tab is a limited version is displayed without "Create Flash Image" and "Print Size" checkboxes.

The build basically works for the ARM, but without creating HEX file or printing the size of the compiled project.

If you create a new project with ARM first then the ARM is fully supported and the Risc-V build will be somewhat limited.

Steps to Reproduce

  1. Create a C/C++ Managed Project with "Risc-V Cross GCC"
  2. Add a new build configuration "ARM TEST", and set the toolchain to "Arm Cross GCC"
  3. Select the "ARM TEST" build configuration, and go to the Project properties / "C/C++ Build" / "Settings" / "Toolchains" tab

Expected behaviour: there should be the "Create Flash Image" and "Print Size" checkboxes.

Actual behaviour: they are not there...

Versions

  • [plug-in version] 6.1.2.202102181132
  • [Eclipse version] 19-06, 21-09 (4.21)
  • [Java version] OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
  • [operating system] KUbuntu 20.04
  • [toolchain version]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions