Skip to content

Commit 064679e

Browse files
committed
Fixed issues with the VS Code workspace file
- Removed .git from files.watcherExclude because it was breaking staging... - Removed hardcoded paths to the sdk. Now configurable in the user's settings. This isn't ideal but I can't think of a nicer way right now...
1 parent b5a2956 commit 064679e

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

retro-go.code-workspace

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@
3333
}
3434
],
3535
"settings": {
36-
"esp.sdk-path": "C:/Users/alex/Apps/esp-idf/frameworks/esp-idf-v4.1.2",
37-
"esp.tools-path": "C:/Users/alex/Apps/esp-idf/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf",
36+
/*
37+
For C_cpp to work you must add these variables to your vs code config:
38+
(This isn't ideal but I can't think of a better way...)
39+
40+
"retro-go.sdk-path": "/path/to/esp-idf/frameworks/esp-idf-v4.1.2",
41+
"retro-go.tools-path": "/path/to/esp-idf/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf",
42+
*/
3843

39-
"git.confirmForcePush": false,
4044
"C_Cpp.default.defines": [
4145
"PROJECT_VER",
4246
"INLINE=",
@@ -47,14 +51,14 @@
4751
"C_Cpp.default.includePath": [
4852
"${workspaceFolder}/components/**",
4953
"${workspaceFolder}/../components/**",
50-
"${config:esp.sdk-path}/components/**",
51-
"${config:esp.tools-path}/include/**"
54+
"${config:retro-go.sdk-path}/components/**",
55+
"${config:retro-go.tools-path}/include/**"
5256
],
5357
"C_Cpp.default.forcedInclude": [
5458
"${workspaceFolder}/build/config/sdkconfig.h",
5559
"${workspaceFolder}/build/sdkconfig.h",
5660
],
57-
"C_Cpp.default.compilerPath": "${config:esp.tools-path}/bin/xtensa-esp32-elf-g++.exe",
61+
"C_Cpp.default.compilerPath": "${config:retro-go.tools-path}/bin/xtensa-esp32-elf-g++.exe",
5862
"C_Cpp.default.cStandard": "c11",
5963
"C_Cpp.default.cppStandard": "c++11",
6064
"C_Cpp.default.intelliSenseMode": "gcc-x86",
@@ -81,7 +85,6 @@
8185
},
8286
"files.watcherExclude": {
8387
"**/build/**": true,
84-
"**/.git/**": true
85-
}
88+
},
8689
}
8790
}

0 commit comments

Comments
 (0)