50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"cacheVariables": {
|
|
"BOARD": "st_h743_board",
|
|
"BOARD_ROOT": "${sourceDir}",
|
|
"ZEPHYR_EXTRA_MODULES": "${sourceDir}/modules/zephyr-dshot;${sourceDir}/modules/zephyr-dshot-bb;${sourceDir}/modules/zephyr-mavlink;${sourceDir}/modules/zephyr-spl06;${sourceDir}/modules/zephyr-qmc5883p",
|
|
"Python3_EXECUTABLE": "/home/misaki/MisakiCodes/Env/zephyrproject/.venv/bin/python3",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"NO_BUILD_TYPE_WARNING": "ON",
|
|
"CMAKE_C_COMPILER": "/home/misaki/MisakiCodes/Env/zephyr-sdk-1.0.1/gnu/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc",
|
|
"CMAKE_CXX_COMPILER": "/home/misaki/MisakiCodes/Env/zephyr-sdk-1.0.1/gnu/arm-zephyr-eabi/bin/arm-zephyr-eabi-g++"
|
|
},
|
|
"environment": {
|
|
"ZEPHYR_BASE": "/home/misaki/MisakiCodes/Env/zephyrproject/zephyr"
|
|
}
|
|
},
|
|
{
|
|
"name": "zephyr-debug",
|
|
"inherits": "base",
|
|
"binaryDir": "${sourceDir}/cmake-build-debug-zephyr",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "zephyr-release",
|
|
"inherits": "base",
|
|
"binaryDir": "${sourceDir}/cmake-build-release-zephyr",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "zephyr-debug-build",
|
|
"configurePreset": "zephyr-debug"
|
|
},
|
|
{
|
|
"name": "zephyr-release-build",
|
|
"configurePreset": "zephyr-release"
|
|
}
|
|
]
|
|
}
|