Merge pull request #8911 from iNavFlight/dzikuvx-speedybeef405wing
[inav.git] / dev / vscode / launch.json
blob501625722da07de4798949b0632506c769d19dfa
2     // Use IntelliSense to learn about possible attributes.
3     // Hover to view descriptions of existing attributes.
4     // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
6     // ******* INAV ********
7     // Define the following values in settings.json
8     //      - BUILD_DIR: Relative path to the build directory
9     //      - TARGET: Target name that you want to launch
11     "version": "0.2.0",
12     "configurations": [
13         {
14             "name": "Cortex Debug",
15             "cwd": "${workspaceRoot}",
16             "executable": "${config:BUILD_DIR}/bin/${config:TARGET}.elf",
17             "request": "launch",
18             "type": "cortex-debug",
19             "servertype": "openocd",
20             "device": "${config:TARGET}",
21             "configFiles": [
22                 "${config:BUILD_DIR}/openocd/${config:TARGET}.cfg"
23             ],
24             "preLaunchTask": "openocd-debug-prepare",
25             "svdFile": "${config:BUILD_DIR}/svd/${config:TARGET}.svd",
26         }
27     ]