diff --git a/.vscode/launch.json b/.vscode/launch.json index 0ea7510522..78a629f11e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -144,6 +144,25 @@ ] } }, + { + "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",