c_cpp_properties.json
参考视频:https://www.bilibili.com/video/av82937857
{
"configurations": [
{
"name": "STM32",
"includePath": [
"${workspaceFolder}/Inc ",
"${workspaceFolder}/Drivers/STM32F1xx_HAL_Driver/Inc ",
"${workspaceFolder}/Drivers/CMSIS/Device/ST/STM32F1xx/Include ",
"${workspaceFolder}/Drivers/CMSIS/Include ",
"${workspaceFolder}Drivers/CMSIS/Include"
],
"defines": [
"STM32F103xB",
"USE_HAL_DEIVER"
],
"intelliSenseMode": "msvc-x64",
"compilerPath": "D:\\Program Files\\MinGW\\bin\\gcc.exe",
"cStandard": "c11",
"cppStandard": "c++17"
}
],
"version": 4
}
/*includePath 包含路径目录*/
/*defines 全局宏定义*/