Thanks, will take a look on that, and I have some test and following .vscode setting seem work.
Code: Untitled.c Select all
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/build/config",
"${env:MDF_PATH}/esp-idf/components/**",
"${env:MDF_PATH}/components/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "C:\\<change to your path>\\.espressif\\tools\\xtensa-esp32-elf\\esp-2020r3-8.4.0\\xtensa-esp32-elf\\bin\\xtensa-esp32-elf-gcc.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "${default}",
"browse": {
"path": [
"${workspaceFolder}",
"${workspaceFolder}/build/config",
"${env:MDF_PATH}/esp-idf/components",
"${env:MDF_PATH}/components"
]
}
}
],
"version": 4
}