From 4f445cd7f80ba7af570a0867f493c1b12197af8a Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 30 Jun 2019 18:47:46 -0400 Subject: [PATCH] vscode add av_x-v1 debug target --- .vscode/launch.json | 60 ++++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 78a629f11e..ee2f1431bd 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -144,25 +144,6 @@ ] } }, - { - "name": "Debug nxp_fmuk66-v3 (jlink)", - "device": "MK66FN2M0xxx18", - //"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/XXXX.svd", - "executable": "${command:cmake.launchTargetPath}", - "request": "launch", - "type": "cortex-debug", - "servertype": "jlink", - "interface": "swd", - "cwd": "${workspaceRoot}", - "internalConsoleOptions": "openOnSessionStart", - "preLaunchCommands": [ - "source ${workspaceRoot}/platforms/nuttx/Debug/PX4", - "source ${workspaceRoot}/platforms/nuttx/Debug/NuttX", - "source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M", - "set mem inaccessible-by-default off", - "set print pretty" - ] - }, { "name": "Debug px4_fmu-v2/v3/v4 (jlink)", "device": "STM32F427VI", @@ -180,7 +161,6 @@ "source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M", "set mem inaccessible-by-default off", "set print pretty", - "showtasks", ] }, { @@ -201,7 +181,6 @@ "source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M", "set mem inaccessible-by-default off", "set print pretty", - "showtasks", ] }, { @@ -220,7 +199,6 @@ "source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M", "set mem inaccessible-by-default off", "set print pretty", - "showtasks", ] }, { @@ -239,7 +217,43 @@ "source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M", "set mem inaccessible-by-default off", "set print pretty", - "showtasks", + ] + }, + { + "name": "Debug av_x-v1 (jlink)", + "device": "STM32F777NI", + "svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F7x7.svd", + "executable": "${command:cmake.launchTargetPath}", + "request": "launch", + "type": "cortex-debug", + "servertype": "jlink", + "interface": "swd", + "internalConsoleOptions": "openOnSessionStart", + "preLaunchCommands": [ + "source ${workspaceRoot}/platforms/nuttx/Debug/PX4", + "source ${workspaceRoot}/platforms/nuttx/Debug/NuttX", + "source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M", + "set mem inaccessible-by-default off", + "set print pretty", + ] + }, + { + "name": "Debug nxp_fmuk66-v3 (jlink)", + "device": "MK66FN2M0xxx18", + //"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/XXXX.svd", + "executable": "${command:cmake.launchTargetPath}", + "request": "launch", + "type": "cortex-debug", + "servertype": "jlink", + "interface": "swd", + "cwd": "${workspaceRoot}", + "internalConsoleOptions": "openOnSessionStart", + "preLaunchCommands": [ + "source ${workspaceRoot}/platforms/nuttx/Debug/PX4", + "source ${workspaceRoot}/platforms/nuttx/Debug/NuttX", + "source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M", + "set mem inaccessible-by-default off", + "set print pretty" ] } ]