summaryrefslogtreecommitdiff
path: root/sw/.vscode/launch.json
blob: fa3c1cae7d457dbaeaa44bbf84f365fc67254494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
  "version": "0.2.0",
  "configurations": [
    {
      "openOCDLaunchCommands": [
        "adapter speed 50"
        ],
        "cwd": "${workspaceFolder}",
        "executable": "${command:cmake.launchTargetPath}",
        "name": "JTAG DEBUGGING ",
        "request": "launch",
        "type": "cortex-debug",
        "servertype": "openocd",
        // "gdbTarget": "localhost:3333",
        // "armToolchainPath": "",
        "interface": "swd",
        "svdFile": "${command:vscode-embedded.st.svd}/STM32L476.svd",
        "configFiles": [
            "interface/stlink.cfg",
            "target/stm32l4x.cfg"
        ],

        // /opt/homebrew/bin/openocd
        
        "debuggerArgs": [
            // "-d",
            // "${workspaceRoot}\Desktop\DaisyExamples\pod\MultiEffectBlink\"
          ],
        "preRestartCommands": [
            "load",
            "enable breakpoint",
            "monitor reset"
        ],
        // "showDevDebugOutput": true,

   }
]


// "configurations": [
  //   {
  //       "name": "Launch",
  //       "cwd": "${workspaceFolder}",
  //       // "executable": "./build/debug/build/plinkyblack.elf",
  //       "executable": "${command:cmake.launchTargetPath}",
  //       "request": "launch",
  //       "type": "cortex-debug",
  //       "runToEntryPoint": "main",
  //       "servertype": "stlink",
      
  //           // Connect to an already running OpenOCD instance
  //           "gdbTarget": "localhost:3333",

	//         "svdPath": "${command:vscode-embedded.st.svd}/STM32L476.svd"
  //   }
  // ]
}