From 783267bbc38768a5b198c7a467fd15d4f05a113f Mon Sep 17 00:00:00 2001
From: Daniel Agar <daniel@agar.ca>
Date: Wed, 5 Dec 2018 13:28:27 -0500
Subject: [PATCH] vscode initial jlink debug launch

---
 .vscode/launch.json | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/.vscode/launch.json b/.vscode/launch.json
index d3f0c9829c..1e736829ff 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -55,5 +55,18 @@
                 ],
                 "preLaunchTask": "jmavsim"
             },
+            {
+                "name": "(jlink) px4_fmu-v2",
+                "cwd": "${workspaceRoot}",
+                "executable": "${workspaceRoot}/build/px4_fmu-v2_default/px4_fmu-v2_default.elf",
+                "request": "launch",
+                "type": "cortex-debug",
+                "servertype": "jlink",
+                "device": "STM32F427VI",
+                //"svdFile": "",
+                "interface": "swd",
+                "ipAddress": null,
+                "serialNumber": null
+            },
         ]
     }
\ No newline at end of file
-- 
GitLab