cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE 1.16 is requiring code generation with every press of Ctrl+B

ferro
Senior III

Hi,

I've just installed CubeIDE 1.16 and without any change to code/source file, every press of Ctrl+B shows this dialog:

ferro_3-1728384274540.png

 

Any idea why this message please ?   I did not have this with IDE1.14.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Toneski
Associate III

Hi Ferro,

It looks like because you have upgraded/changed CubeIDE,  that possibly the HAL drivers for your project need updating. Press the Cog wheel icon - or menu <Project/Generate Code>. This should update any source to the version of CubeIDE you are using. I think the compile should then work with Ctrl-B.

Cheers,

Toneski.

View solution in original post

4 REPLIES 4
Mahmoud Ben Romdhane
ST Employee

Hello @ferro ,

First let me thank you for posting.

I suggest that you take a look at the Keyboard Shortcuts by clicking on Ctrl+Shift+L.

You can see that Ctrl+B stands for Build All.

 

MahmoudBenRomdhane_0-1728466318071.png

 

Thanks.

Mahmoud

 

Toneski
Associate III

Hi Ferro,

It looks like because you have upgraded/changed CubeIDE,  that possibly the HAL drivers for your project need updating. Press the Cog wheel icon - or menu <Project/Generate Code>. This should update any source to the version of CubeIDE you are using. I think the compile should then work with Ctrl-B.

Cheers,

Toneski.

Hi @Mahmoud Ben Romdhane , thanks for that.

 

Hi @Toneski 

Correct . Thank you. Sort of obvious for well seasoned Cube users I guess, or more observant individuals. As I did not know how to continue from that point, I started project from scratch and had not had that error again - for a while.

Until it happend again and re-gerating of files did it. It is some specific sequence of using Gfx, MX and Cube.
Luckily my project seems to be stable now.

Toneski
Associate III

Hi ferro,

Yes - you need to rebuild all the HAL source files every-time you change the .IOC file. The .IOC file is the file that allows you to allocate pins, clocks & enable the hardware blocks within your device (like enabling & configuring a new SPI device will require a new code generation). So every-time you change something with the CPU you need to re-generate.

Its caught me out before...

Regards,

Toneski