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
14 "name": "Cortex Debug",
15 "cwd": "${workspaceRoot}",
16 "executable": "${config:BUILD_DIR}/bin/${config:TARGET}.elf",
18 "type": "cortex-debug",
19 "servertype": "openocd",
20 "device": "${config:TARGET}",
22 "${config:BUILD_DIR}/openocd/${config:TARGET}.cfg"
24 "preLaunchTask": "openocd-debug-prepare",
25 "svdFile": "${config:BUILD_DIR}/svd/${config:TARGET}.svd",