diff --git a/.vscode/launch.json b/.vscode/launch.json index d4d5714..a467a37 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,13 +5,13 @@ "cwd": "${workspaceRoot}", "type": "cortex-debug", "request": "launch", - "name": "jlink", - "servertype": "jlink", - "interface": "swd", + "name": "openocd", + "servertype": "openocd", "executable": "build\\Debug\\violet_firmware_zf.elf", "runToEntryPoint": "main", - "device": "null", - "toolchainPrefix": "riscv-none-embed" + "configFiles": [ + "${workspaceFolder}/tools/wch-riscv.cfg" + ] } ] } \ No newline at end of file