cancel
Showing results for 
Search instead for 
Did you mean: 

code generation working on one PC; not when shared to another

Srinath_03
Associate III

Hi im using Nucleo-g431, in my laptop code generation is happening with respect to change in ioc file cubeide, but same code i shared to another laptop but there change in ioc file , it is not reflecting in code. code generation is not happening with the current change in ioc. but in ioc changes are there. both the systems are same version of cubeide 1.19.0.  what to do for this.

regards,

srinath

5 REPLIES 5
Andrew Neil
Super User

Please give details of how, exactly, you "shared" this file.

 

How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

zip file of the full code from the folder I have saved.

regards,

Srinath

mfgkw
Senior

Hi Srinath,

 

I am afraid I do not understand the problem completely.

When you change the .ioc on one the system there is no code generation on the other system sharing the same files?
Then you might have to init code generation manually on the other system when needed.

 

Or do the the both systems behave differently (one does code generation on save, the other does not)?

There is a setting Window->Preferences->STM32Cube->Device Configuration->Code Generation Persistent Choices->Do code generation on .ioc file save?
Maybe this option is not set equal on your systems.

 

hi @mfgkw thanks for your response, 

the problem is we are sharing the code file for changes and updates. we are not using git for this particular one. since my workspace is ok all happening correctly , but in another laptop, it is not happening code generation correctly, both the system cube ide version are same. 

 

so it is cubeide problem or any other settings. but settings all are fine only in both the systems. what could be the reason and how to resolve, if will try try doing the changes you suggested.

 

regards,

srinath


@Srinath_03 wrote:

we are sharing the code file for changes and updates.


You still haven't said how you're doing this "sharing".

Please give full details - step-by-step.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.