VSCode debugging test

This commit is contained in:
gator96100
2020-12-29 00:44:06 +01:00
parent bdb384f7b7
commit 8b9c6a15f1
2 changed files with 23 additions and 1 deletions

16
.vscode/launch.json vendored
View File

@@ -55,7 +55,21 @@
"name": "PATH","value": "${workspaceFolder}/../../msys2/mingw64/bin;${workspaceFolder}/../../msys2/usr/local/bin;${workspaceFolder}/../../msys2/usr/bin;${workspaceFolder}/../../msys2/bin"
}]
}
}
},{
"type": "cortex-debug",
"request": "launch",
"name": "Debug J-Link",
"cwd": "${workspaceRoot}",
"preLaunchTask": "fullimage: clean & make",
"executable": "${workspaceRoot}/armsrc/obj/fullimage.stage1.elf",
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServerCLExe",
"servertype": "jlink",
"device": "AT91SAM7S512",
"interface": "jtag",
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
"runToMain": true,
"armToolchainPath": "/usr/bin/"
}
],
"inputs": [
{