-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improper build support for multi-target ARM + Risc-V project #496
Comments
I confirm the bug. |
The problem was related to the logic that identifies own managed build plug-ins by the ids, which use both Fixed on 2021-10-24. |
Please use Install new Software to install the 6.2.0 pre-release from: and let me know if it is ok. |
I've installed the pre-release. Now the "Toolchains" tabs looks the same, but still no HEX file generation and size report is done, however the checkboxes are active. Even if I toggled them. |
Yes, that's fine, I see these pages already too. But the "Create flash image" and "Print size" does not have an effect on the second created architecture. |
Ah, that's different. So you see the radio buttons, but the functionality associated with them is not there? |
Here is a small test project.
ARMM compile output:
|
Thank you, that should be helpful. I don't know yet how difficult to fix is this, I'll further investigate. |
I successfully imported your project and took a look at the .cproject file. At first sight I could not spot anything wrong, it'll require a more thorough analysis. The creation of the make files is done in the parent CDT classes, based on the content of .cproject and the toolchain definitions in the plug-ins. I'll take a second look in a few days, time permitting. |
I confirm that I encountered this issue myself. My use case was reversed, I had several Arm build configurations and added a RISC-V configuration. So the problem is not specific to Arm or RISC-V separately, it seems to affect all configurations. The 3 options related to hex/listing/size did not show in the configuration page, although they were present in the @jonahgraham, time permitting, probably we should try to identify why CDT does not display these options, otherwise functional in ECDT. |
@jonahgraham, please ignore the previous request, I took a more careful look and the missing widgets are not in the tab rendered by CDT, but in a tab rendered by the ECDT plug-ins, so it is a bug in my code. I'll fix it shortly. |
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
Expected behaviour: there should be the "Create Flash Image" and "Print Size" checkboxes.
Actual behaviour: they are not there...
Versions
The text was updated successfully, but these errors were encountered: