Skip to main content
Associate
February 24, 2026
Solved

STM32CubeMX 6.16.0: Missing STM32U375xx_FLASH.ld generation with CMake Toolchain

  • February 24, 2026
  • 2 replies
  • 202 views

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:

  • MCU: STM32U375xx
  • STM32CubeMX Version: 6.16.0
  • Toolchain: CMake

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,

Gianni
Best answer by Ghofrane GSOURI

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

2 replies

Andrew Neil
Super User
February 24, 2026
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
February 24, 2026

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.
ZacchetGAuthor
Associate
February 24, 2026

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