2025-02-16 05:39 PM - edited 2025-02-16 10:17 PM
I'm experiencing complete failure in generation of new projects. Using either CubeMX or CubeIDE it is the same behavior.
Generate a new project like I've done for 10+ years, only to find the folder structure missing almost everything required to build a project.
Standard structure:
This is selecting STM32CubeIDE as the Toolchain / IDE
2025-02-16 22:15:09,802 [INFO] ProjectBuilder:3289 - Time for Copy HAL[1] : 24mS.
2025-02-16 22:15:09,807 [INFO] ProjectBuilder:4876 - Project Generator version: 4.5.0-RC5
[Fatal Error] :-1:-1: Premature end of file.
2025-02-16 22:15:09,868 [ERROR] AbstractXmlFileManage:141 - Premature end of file.
2025-02-16 22:15:09,900 [INFO] ConfigFileManager:1579 - The Die is : DIE482
2025-02-16 22:15:09,905 [INFO] ApiDbMcu:508 - Load IP Config File for FILEX
2025-02-16 22:15:09,909 [INFO] ApiDbMcu:508 - Load IP Config File for LEVELX
2025-02-16 22:15:09,916 [INFO] ApiDbMcu:508 - Load IP Config File for NETXDUO
2025-02-16 22:15:09,919 [INFO] ApiDbMcu:508 - Load IP Config File for THREADX
2025-02-16 22:15:09,927 [INFO] ApiDbMcu:508 - Load IP Config File for TOUCHSENSING
2025-02-16 22:15:09,930 [INFO] ApiDbMcu:508 - Load IP Config File for USBPD
2025-02-16 22:15:09,938 [INFO] ApiDbMcu:508 - Load IP Config File for USBX
2025-02-16 22:15:10,246 [INFO] ConfigFileManager:3107 - mx.scratch is deleted!
Seems to be the same behavior for multiple MCUs as well.
I don't see any error messages. I've reinstalled the STM32CubeMX application and refreshed all the packages.
Maybe not related, my older projects, when migrating to the latest version, 6.13, now will not build. Errors in missing definitions for FreeRTOS. BaseType_t is undefined.
2025-02-16 11:34 PM
Hello @Richard Lowe
I want to start by thanking you for posting.
It would be greatly appreciated if you could share your IOC so that I can verify your configuration.
THX
Ghofrane
2025-02-22 10:40 PM
I've solved it. The latest cube packages are missing the FreeRTOS portable/GCC files, port.c and portmacro.h.
I copied the previous versions portable directory to the latest and it now works correctly.