Describe the bug
When building a project, the linking step fails with -lstm_cube: no such file or directory.
Steps to reproduce
Use any example and link a static library to the executable, stm32-cmake adds -lstm_cube at the end, presumably to make sure everything link to the HAL, however stm_cube is not recognized as a library.
Environment:
OS: Arch Linux with STM32CubeMX installed from the AUR, also tested on Ubuntu 22.04 with official installation of STM32CubeMX
Compiler: arm-none-eabi-gcc (xPack GNU Arm Embedded GCC x86_64) 12.3.1 20230626 and Ubuntu 22.04 arm-none-eabi packages
Describe the bug When building a project, the linking step fails with
-lstm_cube: no such file or directory
.Steps to reproduce Use any example and link a static library to the executable,
stm32-cmake
adds-lstm_cube
at the end, presumably to make sure everything link to the HAL, howeverstm_cube
is not recognized as a library.Environment: