Added firmware configuration for wsl
This commit is contained in:
20
.vscode/launch.json
vendored
20
.vscode/launch.json
vendored
@@ -58,10 +58,10 @@
|
|||||||
},{
|
},{
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Firmware debug",
|
"name": "(Linux) Firmware debug",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"preLaunchTask": "fullimage: clean & make",
|
"preLaunchTask": "fullimage: clean & make",
|
||||||
"executable": "${workspaceRoot}/armsrc/obj/fullimage.stage1.elf",
|
"executable": "${workspaceRoot}/armsrc/obj/fullimage.elf",
|
||||||
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServerCLExe",
|
"serverpath": "/opt/SEGGER/JLink/JLinkGDBServerCLExe",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"device": "AT91SAM7S512",
|
"device": "AT91SAM7S512",
|
||||||
@@ -69,7 +69,21 @@
|
|||||||
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
|
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
|
||||||
"runToMain": false,
|
"runToMain": false,
|
||||||
"armToolchainPath": "/usr/bin/"
|
"armToolchainPath": "/usr/bin/"
|
||||||
}
|
},{
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "(WSL) Firmware debug",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"preLaunchTask": "fullimage: clean & make",
|
||||||
|
"executable": "${workspaceRoot}/armsrc/obj/fullimage.elf",
|
||||||
|
"serverpath": "/mnt/c/Program Files (x86)/SEGGER/JLink/JLinkGDBServerCL.exe",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"device": "AT91SAM7S512",
|
||||||
|
"interface": "jtag",
|
||||||
|
"serialNumber": "", //If you have more than one J-Link probe, add the serial number here.
|
||||||
|
"runToMain": false,
|
||||||
|
"armToolchainPath": "/usr/bin/"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user