2025-12-18 4:58 AM
I'm using STM32CubeIDE 2.0 and CubeMX 6.16.1. When I create a project in CubeMX, it doesn't create the STM32WBA55CGUX_FLASH.ld file. It creates the makefile when I select it in the Toolchain/IDE section, but then gives an error.
2025-12-18 5:21 AM
Hello @YBAYR.1
Thank you for bringing this up!
Could you please check the project directory to confirm if the STM32WBA55CGUX_FLASH.ld file is not present?
KR, Souhaib
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.
2025-12-18 5:42 AM
The STM32WBA55CGUX_FLASH.ld file doesn't exist initially.
I can create it using CubeMX with toolchain/ide:makefile, but I get an error in the compiler.
2025-12-18 6:46 AM
CubeMX should add linker file titled "STM32WBA55xx_FLASH.ld" instead of "STM32WBA55CGUX_FLASH.ld".
can you check please?
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.
2025-12-18 7:02 AM
@YBAYR.1 wrote:The STM32WBA55CGUX_FLASH.ld file doesn't exist initially.
What do you mean by, "initially" here?
How, exactly, did you get to that point?
@YBAYR.1 wrote:I can create it using CubeMX
Yes, the whole purpose of CubeMX is to create a complete project for you - including source code, linker script, and the IDE Project or makefile.