Learning Check-in Day 60 – ESP32 (VSCode IDF Source Code Navigation)
When using VSCode configured with IDF, the source code cannot be navigated, and the corresponding code will be highlighted in red, making development inconvenient. You can configure it by referring to the example code. 1. Add c_cpp_properties.json configuration file in .vscode (VSCode editor configuration folder) { "configurations": [ { "name": "ESP-IDF", "compilerPath": "${config:idf.toolsPathWin}\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe", "compileCommands": "${config:idf.buildPath}/compile_commands.json", … Read more