fix: 更新 VSCode 设置以优化开发环境

- 合并 idf.openOcdConfigs 为单行格式
- 更新 idf.pythonInstallPath 为 idf.pythonBinPathWin
- 添加 idf.toolsPath 和 ESP_IDF_VERSION 变量
- 修改 clangd.path 以指向新的工具路径
- 更新 compile-commands-dir 路径以反映新的工作目录
This commit is contained in:
2026-07-01 22:48:21 +08:00
parent b6a871a3b9
commit 64e207df72
+8 -7
View File
@@ -1,20 +1,21 @@
{ {
"C_Cpp.intelliSenseEngine": "default", "C_Cpp.intelliSenseEngine": "default",
"idf.extensionActivationMode": "always", "idf.extensionActivationMode": "always",
"idf.openOcdConfigs": [ "idf.openOcdConfigs": ["board/esp32s3-builtin.cfg"],
"board/esp32s3-builtin.cfg"
],
"idf.port": "/dev/ttyACM0", "idf.port": "/dev/ttyACM0",
"idf.currentSetup": "C:\\esp\\v6.0.1\\esp-idf", "idf.currentSetup": "C:\\esp\\v6.0.1\\esp-idf",
"idf.pythonInstallPath": "C:\\Espressif\\tools\\python\\v6.0.1\\venv\\Scripts\\python.exe", "idf.toolsPath": "C:\\Espressif",
"idf.pythonBinPathWin": "C:\\Espressif\\tools\\python\\v6.0.1\\venv\\Scripts\\python.exe",
"idf.customExtraVars": { "idf.customExtraVars": {
"IDF_TARGET": "esp32s3" "IDF_TARGET": "esp32s3",
"IDF_TOOLS_PATH": "C:\\Espressif",
"ESP_IDF_VERSION": "6.0.1"
}, },
"clangd.path": "C:\\Espressif\\tools\\xtensa-esp-elf\\esp-15.2.0_20251204\\esp-clang/bin/clangd", "clangd.path": "C:\\Espressif\\tools\\esp-clang\\esp-20.1.1_20250829\\esp-clang\\bin\\clangd.exe",
"clangd.arguments": [ "clangd.arguments": [
"--background-index", "--background-index",
"--query-driver=**", "--query-driver=**",
"--compile-commands-dir=C:\\Users\\yulinling\\work\\work-hardware\\HeavenlyHeroStar\\build" "--compile-commands-dir=d:\\work\\work-hardware\\HeavenlyHeroStar\\build"
], ],
"idf.flashType": "UART", "idf.flashType": "UART",
"idf.portWin": "COM5" "idf.portWin": "COM5"