Skip to main content
LAlco.1
Associate
February 28, 2021
Question

when i run a hello world it come up with "edit invalid project settings" and i don't know what to do as when i click on a toolchain EG GNU tools for STM32, it still says what do i do?

  • February 28, 2021
  • 8 replies
  • 2662 views

..

This topic has been closed for replies.

8 replies

Cartu38 OpenDev
Graduate II
February 28, 2021

I would just follow promoted process. Let's click on "Open Toolchain Manager" button ... as reported trouble is "unkown toolchain".

Most probably your current project is relying on a toolchain which not available (have you updated IDE ?) .... toolchain manager will help you to install it. Or move to project settings assigning it to currently installed one if you're not fixed on a specific toolchain version.

Pavel A.
February 28, 2021

Is this after CubeIDE update to version 1.6?

If so, try to "repair" the previous ARM toolchain which the debugger was using previously.

  • Open  Toolchain Manager (it will take its time .... patience....) then select "Add Local".
  • Then browse to the toolchain before update to 1.6.0 , usually it is "7-2018". Go to the bin subdirectory under it and select that.
  • Give it any name, for example "Old toolchain".

Then it will be available in Toolchain manager and you can select it for the debugger. The the debugger should work.

-- pa

LAlco.1
LAlco.1Author
Associate
February 28, 2021

is this what you mean i seem to have a different error now

Pavel A.
March 1, 2021

Yes this is what I mean. Yes this is what I mean. You have 9-2020 so it may be caused by update to 1.6.0. But the other toolchain should be ARM, not MINGW. It is located under CubeIDE plugins directory, at same level with 9-2020.

-- pa

Cartu38 OpenDev
Graduate II
February 28, 2021

First: why do you add a local toolchain ? sounds the one you'trying to install as local is already part of installed toolchain according toolchain manager status

Second: if aiming anyway to point by yourself to a local toolchain I guess "features" path is not ok ... let's try "plugins" instead ... you have to provide path to repository where toolchain binaries are

0693W000007ZhV0QAK.jpg 

My advice is still to rely on first :) ... then look at project properties to point to expected toolchain:

0693W000007ZhVAQA0.jpg

LAlco.1
LAlco.1Author
Associate
February 28, 2021

i don't actually have that option, what should i do?

Cartu38 OpenDev
Graduate II
February 28, 2021

According latest sharing your project is not a STM32CubeIDE and not a project relying on any STM32 toolchain so ... no chance to get option here ...

Sounds you have created a common C/C++ project but not a STM32 one. Is such on purpose ?

You can do if on purpose but be aware you're out of STM supported path. STM32CubeIDE support common C/C++ project (Eclipse + CDT basis ... no STM here) but be aware you've to be a bit more skilled then ...

If moving this way let's try to play with

0693W000007ZhajQAC.jpg