I'm delighted that we now have an interactive debugger for the ESP32. I've read https://github.com/espressif/vscode-esp ... bugging.md and they mostly make sense, but as a newcomer to this stuff, I could use a little more detail.
I'm using a ESP32-WROOM-32D board. The online help suggested I use the board/esp32-wrover-kit-1.8v.cfg, so I chose that from the command palette. (This is a file, right? I can't find it anywhere.)
This is the contents of my settings.json file:
Code: Select all
{
"idf.adapterTargetName": "esp32",
"workbench.colorTheme": "Visual Studio Light",
"idf.espIdfPath": "/home/mzimmers/esp/esp-idf",
"idf.pythonBinPath": "/home/mzimmers/.espressif/python_env/idf4.3_py3.8_env/bin/python",
"idf.toolsPath": "/home/mzimmers/.espressif",
"idf.customExtraPaths": "/home/mzimmers/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin:/home/mzimmers/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin:/home/mzimmers/.espressif/tools/xtensa-esp32s3-elf/esp-2021r1-8.4.0/xtensa-esp32s3-elf/bin:/home/mzimmers/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin:/home/mzimmers/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205/esp32ulp-elf-binutils/bin:/home/mzimmers/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205/esp32s2ulp-elf-binutils/bin:/home/mzimmers/.espressif/tools/openocd-esp32/v0.10.0-esp32-20210401/openocd-esp32/bin",
"idf.customExtraVars": "{\"OPENOCD_SCRIPTS\":\"/home/mzimmers/.espressif/tools/openocd-esp32/v0.10.0-esp32-20210401/openocd-esp32/share/openocd/scripts\"}",
"idf.gitPath": "git",
"idf.flashType": "UART",
"idf.saveScope": 2,
"C_Cpp.autoAddFileAssociations": false
}