2026-02-24 5:17 AM
Hi everyone,
I am experiencing an issue with STM32CubeMX version 6.16.0 while working on an STM32U375xx based project.
When I set the Toolchain/IDE to CMake, the code generation process completes successfully, but the linker script (STM32U375xx_FLASH.ld) is missing from the project structure. I have checked both the root directory and the cmake/ folder, but the file is nowhere to be found.
Interestingly, if I switch the Toolchain to STM32CubeIDE, the .ld file is generated as expected. This suggests a potential issue or a change in behavior specifically for the CMake generator with the new U3 series in this version of CubeMX.
Environment details:
Has anyone else encountered this problem? Is there a specific configuration I should check in the Project Manager to ensure the linker script is included in the CMake output?
Thanks for your support!
Best regards,
Solved! Go to Solution.
2026-02-24 5:20 AM
Hello @ZacchetG
First let me tank you for posting.
As @Andrew Neil has mentioned , please try to use the latest version of MX 6.17.0
I will be waiting for your feedback.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-24 5:18 AM
STM32CubeMX 6.17.0 released today
2026-02-24 5:20 AM
Hello @ZacchetG
First let me tank you for posting.
As @Andrew Neil has mentioned , please try to use the latest version of MX 6.17.0
I will be waiting for your feedback.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-24 6:16 AM
Hi Ghofrane,
Thank you for your feedback.
I have updated STM32CubeMX to version 6.17.0 as suggested, and I can confirm that the linker script (STM32U375xx_FLASH.ld) is now generated correctly within the project structure when using the CMake toolchain.
The issue is resolved. Thank you and Andrew Neil for your support!
Best regards,
Gianni
2026-02-24 6:16 AM
Hi Andrew,
Thank you for your feedback.
I have updated STM32CubeMX to version 6.17.0 as suggested, and I can confirm that the linker script (STM32U375xx_FLASH.ld) is now generated correctly within the project structure when using the CMake toolchain.
The issue is resolved. Thank you and Andrew Neil for your support!
Best regards,
Gianni