mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/cmake-demo.git
synced 2025-09-28 15:57:33 +00:00
d6cf8a384e408fd351012c0b1c208a5cbc297b01
Cmake Demo
This is a cmake demo for the sta-core/rtos2-utils/TACOS setup that is used in TACOS projects. The actual project is the RRES software because idk...
To build this:
cmake -S . -B build -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DSTM32_CUBE_F4_PATH=[YOUR_PATH_TO_STM32_CUBE_F4]
cmake --build build
My STM32_CUBE_F4_PATH
on MacOS is: /var/root/STM32Cube/Repository/STM32Cube_FW_F4_V1.28.1
and on MacOS I had to configure and build using sudo since var is protected.
Code generation can be done through CubeMX (Note that we only use the core as the drivers are loaded via cmake from an existing toolchain) and flashing through CubeProgrammer or CubeCLI.
Languages
C
72%
C++
22.2%
CMake
5.8%