2025-09-03 3:32 AM
Hi,
I am using the following environment:
OS: Ubuntu 20.04 LTS
STM32CubeMX: 6.15.0
Visual Studio Code: 1.103.2
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:
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.
2025-09-03 3:37 AM
Hello @Fumihiko
I am checking this issue.I will get back to you asap.
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.
2025-09-18 3:34 AM
Hello @Fumihiko
According to our documentation (UM1718, section 3.1.1), the officially supported Linux distributions are:
For best results, use a supported operating system such as Fedora 41 or Ubuntu LTS 22.04/24.04 in a virtual machine or container.
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.
2025-09-19 3:28 AM
Hi Ghofrane,
>For best results, use a supported operating system such as Fedora 41 or Ubuntu LTS 22.04/24.04 in a virtual machine or container.
Does this mean that the bug does not occur on Ubuntu 22.04 and later?
Best Regards,
Fumihiko