cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate code from an .ioc file, generate code grayed out?

PLane.1
Associate II

CubeIDE version 1.2.0

Cloning a git repo with a .ioc file in it, how to generate code?

When right clicking the "Generate code" is grayed out. The only method that has worked seems to be opening the .ioc file, toggling a checkbox to generate a change and then saving to cause code generation.

Is there a way to generate code when ever I want? or force the code generation even if there are no changes detected?

3 REPLIES 3
Cartu38 OpenDev
Lead II

Sounds weird. Fact is code generation is only enable if Device Configuration Editor is opened (.ioc file edition on going in other words). But if Device Configuration Editor is active no need to get any change to get access and run code generation.

Sounds you're able to rely on Device Configuration Tool so ... ? Could you share some snapshot and/or your .ioc file ?

Daniel.Ribeiro
Associate II

It doesn't matter if there is a need to do it or not. If customer wants, it must be provided. Just that simple.

I would like to carefully point out that this thread is already three years old and nothing has happened here since then, nor had the TO given any additional information.

In the meantime we are many, many versions further along with CubeIDE and such problems seem to have been eliminated.

Regards /Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.