From 2124ef52893d95a251337f385af3ca1d4542e566 Mon Sep 17 00:00:00 2001 From: gator96100 Date: Tue, 29 Dec 2020 05:01:29 +0100 Subject: [PATCH] Added firmware configuration for wsl --- .vscode/launch.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index d1c5d6ff8..abd2cd775 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -58,10 +58,10 @@ },{ "type": "cortex-debug", "request": "launch", - "name": "Firmware debug", + "name": "(Linux) Firmware debug", "cwd": "${workspaceRoot}", "preLaunchTask": "fullimage: clean & make", - "executable": "${workspaceRoot}/armsrc/obj/fullimage.stage1.elf", + "executable": "${workspaceRoot}/armsrc/obj/fullimage.elf", "serverpath": "/opt/SEGGER/JLink/JLinkGDBServerCLExe", "servertype": "jlink", "device": "AT91SAM7S512", @@ -69,7 +69,21 @@ "serialNumber": "", //If you have more than one J-Link probe, add the serial number here. "runToMain": false, "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": [ {