diff --git a/templates/.vscode/tasks.json b/templates/.vscode/tasks.json index d72c4f681..1dc791585 100644 --- a/templates/.vscode/tasks.json +++ b/templates/.vscode/tasks.json @@ -236,13 +236,14 @@ "-e", "${workspaceFolder}/build/${command:espIdf.getProjectName}.elf", "-s", - "${command:espIdf.getOpenOcdScriptValue}", - "-ip", - "localhost", + "$OPENOCD_SCRIPTS", "-dn", - "${config:idf.adapterTargetName}", + "esp32", "-om", - "connect_to_instance" + "connect_to_instance", + "-t", + "xtensa-esp32-elf-" + ], "windows": { "command": "${config:idf.pythonBinPathWin}",