2024-10-08 03:45 AM
Hi,
I've just installed CubeIDE 1.16 and without any change to code/source file, every press of Ctrl+B shows this dialog:
Any idea why this message please ? I did not have this with IDE1.14.
Thanks
Solved! Go to Solution.
2024-10-09 04:40 AM
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.
2024-10-09 02:32 AM
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.
Thanks.
Mahmoud
2024-10-09 04:40 AM
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.
2024-10-21 12:38 PM - edited 2024-10-21 12:39 PM
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.
2024-10-22 02:55 AM
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