Set the "openOcdLaunchArgs" setting before "openOcdConfigs" in the openocd startup line (VSC-1629) #1481
Closed
1 task done
Labels
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
OS
MacOS
Operating System version
10
Visual Studio Code version
No response
ESP-IDF version
4
Python version
3.8
Doctor command output
.
Extension
No response
Description
In the openocd startup line, the "openOcdLaunchArgs" setting comes after "openOcdConfigs", which causes the board to be initialized first, and then the arguments are applied. This leads to ignoring some of the arguments needed for initialization, for example -c set ESP_SEMIHOST_BASEDIR should be set before -f board/*
Debug Message
.
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: