Table Of Contents
Introduction
Problem Definition
Installed tools
Example
Here are the contents of the c_cpp_properties.json file:
JSON
{
"version": 4,
"configurations": [
{
"name": "STM32",
"configurationProvider": "ms-vscode.cmake-tools",
"intelliSenseMode": "gcc-arm",
"compilerPath": "C:/ST/STM32CubeCLT_1.18.0/GNU-tools-for-STM32/bin/",
"includePath": [
"${workspaceFolder}/Drivers/STM32H5xx_HAL_Driver/Inc/",
"${workspaceFolder}/Drivers/STM32H5xx_HAL_Driver/Inc/Legacy/",
"${workspaceFolder}/Drivers/BSP/STM32H5xx_Nucleo/",
"${workspaceFolder}/Drivers/CMSIS/Include/",
"${workspaceFolder}/Drivers/STM32H5xx_HAL_Driver/Inc/stm32h5xx_hal_pka.h",
"${workspaceFolder}/Drivers/CMSIS/Device/ST/STM32H5xx/Include/",
"${workspaceFolder}/Core/Inc/"
],
"cStandard": "c17",
"cppStandard": "c++17",
"browse": {
"path": [
"${workspaceFolder}/**",
"${workspaceFolder}/Drivers/STM32H5xx_HAL_Driver/Inc/",
"${workspaceFolder}/Drivers/STM32H5xx_HAL_Driver/Inc/Legacy/",
"${workspaceFolder}/Drivers/BSP/STM32H5xx_Nucleo/",
"${workspaceFolder}/Drivers/CMSIS/Include/",
"${workspaceFolder}/Drivers/CMSIS/Device/ST/STM32H5xx/Include/",
"${workspaceFolder}/Core/Inc/"
],
"limitSymbolsToIncludedHeaders": true
}
}
]
}
JSONThanks to this post [here] and after some pointless trials, I found out that I need to modify the file settings.json and add this new line in it:
JSON
{
"C_Cpp.intelliSenseEngine": "Tag Parser"
}
JSON