(ESP-IDF)vscode配置文件
记得生成
project_description.json
vscode配置文件夹[.vscode]
.settings
{
"C_Cpp.intelliSenseEngine": "default",
"cmake.environment": {
"IDF_PATH": "/Users/cpy/esp/v5.3.3/esp-idf"
},
"cmake.configureOnOpen": false
}
launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "gdbtarget",
"request": "attach",
"name": "Eclipse CDT GDB Adapter"
},
{
"type": "espidf",
"name": "Launch",
"request": "launch"
}
]
}
c_cpp_properties.json
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "${config:idf.toolsPath}/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc",
"compileCommands": "${config:idf.buildPath}/compile_commands.json",
"includePath": [
"${config:idf.espIdfPath}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
],
"version": 4
}
License:
CC BY 4.0