Question
[ Bug report ] Generating CMakefiles ( with GCC ) for STM32WBA5Mxx MCUs cannot generate Project due to typo in linker file on Linux
Description:
STM32CubeMX tries to find a linker files called STM32WBA5mxx_RAM.ld and STM32WBA5mxx_FLASH.ld ( probably more ) but they’re actually named STM32WBA5Mxx_*.ld. Results in these errors in the CLI ( used to launch cubemx )
No such linker file: /home/<username>/STM32Cube/Repository//STM32Cube_FW_WBA_V1.11.0//Drivers/CMSIS/Device/ST/STM32WBAxx/Source/Templates/gcc/linker/STM32WBA5mxx_FLASH.ld
No such linker file: /home/<username>/STM32Cube/Repository//STM32Cube_FW_WBA_V1.11.0//Drivers/CMSIS/Device/ST/STM32WBAxx/Source/Templates/gcc/linker/STM32WBA5mxx_RAM.ld
Steps to reproduce:
- Create a new project for the STM32WBA5MMGH6TR and select CMake as the toolchain and GCC for the linker.
- Generate code.
- Get pop up box “The Code is successfully generated under : <dir> Project language : C but CMakeproject generation has a problem.”
Workaround:
Rename files and swap the “M” for a “m”.
