STM32CubeIDE v1.31.1 error when using 1.17.1 FW patch.
- September 8, 2023
- 5 replies
- 5160 views
Hi,
I have an odd error since updating to 1.17.1 FW on the STM32F7, My setup is :
Board - STM32F769I-DISCO
STM32CubeIDE - 1.13.1
After updating with the FW Patch v1.17.1, my project now complains "Code Generation could not be done probably because the necessary firmware probably isn't........"
When creating the project, STM32, it's possible to click next and under 'Firmware Package Name and Version', there is a drop down. If I select v1.17.1, the error above is still generated.
When you proceed further with the auto code generation from the IOC, none of source is included and the project build icon is greyed out. If I then change the IOC and auto-generate code, the project source appears.
How To Reproduce: As above, install v1.17.1 FW7 Patch and follow instructions above. When looking at this, I found that the ZIP file for the FW7 v1.17.1 unzips with the same name as the release, v1.17.0.
If I select v1.17.0 as outlined above after unzipping and copying the new update, the "Code Generation could not be done.." pop up still displays.
The only workaround for me is to unzip my original v1.17.0 package into the repository, and select v1.17.0, the project is then created successfully and following auto code generation compiles and runs.
In Summary: If I use the 'patched version' v1.17.1, (renamed or not once, unzipped) whatever I choose in "Firmware Package Name and Version" does not help. If I use my original version v1.17.0, and select this in "Firmware Package Name and Version", all is well.
Perhaps there is a mix up in version/patch naming with regards to the repository somewhere? I find it odd that the zip opens with the same name as the original version. Screen shot is attached.
I raised this on the STM32F7FW Github site, but they said the issue is with the IDE itself and I should post here instead.
Regards,
Steve.