I try to use VS Code with Espressif IDF plugin for ESP32-H2-DevKitM1.
When use launch(debug) settings(file settings.json) like this:
- {
- "C_Cpp.intelliSenseEngine": "Tag Parser",
- "idf.adapterTargetName": "esp32h2",
- "cmake.configureOnOpen": false,
- "idf.openOcdConfigs": [
- "board/esp32h2-builtin.cfg"
- ]
- }
- [OpenOCD]
- ❌ Error: unable to open ftdi de ice with description '*', serial '*' at bus location '*'
- C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:4: Error:
- at file "C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 4
openocd.exe -f board\esp32h2-ftdi.cfg
As i think, plugin do not pass board/esp32h2-builtin.cfg builtin script correctly to open ocd.
What's wrong?
Thank you.