Bug : The STM32H563XX_FLASH.ld file is not generated in STM32CubeMX v6.15.0
Hi,
I am using the following environment:
OS: Ubuntu 20.04 LTS
STM32CubeMX: 6.15.0
Visual Studio Code: 1.103.2
- STM32Cube for Visual Studio Code : 3.5.1
Board: NUCLEO-H563ZI
I found a bug where the STM32H563XX_FLASH.ld file is not generated after generating code.
This bug can be reproduced by following the steps below:
- Create any cubemx project for STM32H563xx.
- Set "The Toolchain / IDE" to CMake.
- Click "Generate Code" .
- After generating code, the files "STM32H563xx_FLASH.ld" and "STM32H563xx_RAM.ld" are generated.
However, the CMake build environment requires only STM32H563XX_FLASH.ld. As a result, the CMake build fails and reports the error :
"my_project/STM32H563XX_FLASH.ld: No such file or directory"
On the other hand, I found that the "STM32H563XX_FLASH.ld" can be generated if "Apply Application Regions Settings to Linker Files: ON" is enabled in Memory Management Tool.
