Switched to CMake

This commit is contained in:
2025-08-27 18:51:19 -07:00
parent db9aa71839
commit 6e6add14a8
6 changed files with 655 additions and 0 deletions

28
CMakePresets.json Normal file
View File

@@ -0,0 +1,28 @@
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19
},
"configurePresets": [
{
"name": "stm32-debug",
"hidden": false,
"generator": "Ninja",
"toolchainFile": "gcc-arm-none-eabi.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "stm32-release",
"generator": "Ninja",
"toolchainFile": "gcc-arm-none-eabi.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
}
]
}