Conversation
|
I have tested compiling on macOS 15.2 & Archlinux
Side node to -j will spawn an unlimited amount of jobs which may result in out of memory situations, I recommend -j 8 |
|
I don't really use the Debug build, but you're right, it shouldn't be broken. Thanks for the contribution, will take me some time to look at it |
Neither do I so no hurry. |
|
Same error with Release builds, but it was fixed with:
|
Fixed! |
|
I don't really work with CMake, but am I right in the assumption, that I need to adjust the CMakeLists.txt everytime I add files to the project in the future? Does this have any usage in combination with STMCubeIDE or is it just for building without it? Btw, I think there is a |
Yes, the CMakeLists.txt needs to be updated, although if you are concerned about this, CMake can automatically add all files matching a pattern like '*.c' to the build if needed.
This is just for building without it. I use it with vscode IDE which I think has a better interface than stm32cubeide since it has features like finding definitions and declaration of functions and structs and integration with git.
Good catch, thanks! |
Allows building with cmake instead, so there is no need to install STM32CubeIDE to build the project. The CMakeLists.txt are generated from creating a STM32 project in STMCube32IDE.
Build commands:
Replace
ReleasewithDebugfor debug build.