-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start OpenOCD ignores configuration in settings.json (VSC-1369) #1210
Comments
Note added: this usually occurs when the project and/or VScode is freshly opened. |
You can try this vsix installer to see if the issue is fixed. |
I've tried the new version provided. The same behavior persists. I have narrowed down the issue and found that it only occurs when launching from within a |
When you use |
Currently i have only one folder in my workspace. I tried also Assocaited workspace file: {
"folders": [
{
"name": "FW-AB2000-ESP32",
"path": "."
}
],
"settings": {
// other non-idf settings
},
"extensions": {
"recommendations": [
"cschlosser.doxdocgen",
"espressif.esp-idf-extension",
"gruntfuggly.todo-tree",
"llvm-vs-code-extensions.vscode-clangd"
]
}
} And my devcontainer.json: {
"name": "ESP-IDF",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
// Pre-configure ESP-IDF extension
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"idf.showOnboardingOnInit": false,
"idf.toolsPath": "/opt/esp",
"idf.toolsPathWin": "",
"idf.espIdfPath": "/opt/esp/idf",
"idf.pythonBinPath": "/opt/esp/python_env/idf5.1_py3.8_env/bin/python",
"idf.customExtraPaths": "",
"idf.port": "/dev/ttyUSB0"
}
}
},
"userEnvProbe": "loginInteractiveShell",
// Make ttyUSB and raw USB devices accessible within the container
"mounts": [
// Access to /dev
"type=bind,source=/dev,target=/dev"
],
"runArgs": [
// USB serial adapters
"--device-cgroup-rule",
"c 188:* rmw",
// raw USB devices
"--device-cgroup-rule",
"c 189:* rmw"
]
} |
This issue has been marked as |
OS
Windows
Operating System version
Windows 10, WSL2
Visual Studio Code version
1.89.1
ESP-IDF version
5.1.1
Python version
3.8.10
Doctor command output
Extension
No response
Description
When attempting to start the OpenOCD server by running
Start OpenOCD
within a freshly opened folder, the server does not start with the configurations defined in the settings.json file. To resolve this issue, we must first open thesettings.json
file, modify it, and then save it. Only after this step the server start with the configurations specified in theidf.openOcdConfigs
config.Associated
settings.json
:Expected Behavior
The OpenOCD server should start with the configurations defined in the
settings.json
file upon running theStart OpenOCD
command without needing to modify and save thesettings.json
file first.Actual Behavior
The OpenOCD server does not start with the configurations defined in the
settings.json
file until the file is modified and saved.Debug Message
Actually it looks like it is invoked OpenOCD with the default settings:
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: