Skip to content
Snippets Groups Projects
Select Git revision
  • 323476136cb45ea04dbbd88ed6f7f0574f749364
  • master default protected
2 results

launch.json

Blame
  • launch.json 4.53 KiB
    {
        // Use IntelliSense to learn about possible attributes.
        // Hover to view descriptions of existing attributes.
        // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
        "version": "0.2.0",
        "configurations": [
            // {
            //     "type": "gdb",
            //     "request": "attach",
            //     "name": "hello_debug",
            //     "gdbpath": "/usr/bin/arm-none-eabi-gdb",
            //     "executable": "./target/thumbv7em-none-eabihf/debug/examples/hello_debug",
            //     "target": ":3333",
            //     "remote": true,
            //     "autorun": [
            //         "load",
            //     ],
            //     "cwd": "${workspaceRoot}"
            // },
            // {
            //     "type": "gdb",
            //     "request": "attach",
            //     "name": "serial-echo",
            //     "gdbpath": "/usr/bin/arm-none-eabi-gdb",
            //     "executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-echo",
            //     "target": ":3333",
            //     "remote": true,
            //     "autorun": [
            //         "load"
            //     ],
            //     "cwd": "${workspaceRoot}"
            // },
            // {
            //     "type": "gdb",
            //     "request": "attach",
            //     "name": "rtfm-blinky-systic",
            //     "gdbpath": "/usr/bin/arm-none-eabi-gdb",
            //     "executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-blinky-systic",
            //     "target": ":3333",
            //     "remote": true,
            //     "autorun": [
            //         "load"
            //     ],
            //     "cwd": "${workspaceRoot}"
            // },
            // {
            //     "type": "gdb",
            //     "request": "attach",
            //     "name": "rtfm-blinky-tim2",
            //     "gdbpath": "/usr/bin/arm-none-eabi-gdb",
            //     "executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-blinky-tim2",
            //     "target": ":3333",
            //     "remote": true,
            //     "autorun": [
            //         "load"
            //     ],
            //     "cwd": "${workspaceRoot}"
            // },
            // {
            //     "type": "gdb",
            //     "request": "attach",
            //     "name": "rtfm-serial-echo",
            //     "gdbpath": "/usr/bin/arm-none-eabi-gdb",
            //     "executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-serial-echo",
            //     "target": ":3333",
            //     "remote": true,
            //     "autorun": [
            //         "load"
            //     ],
            //     "cwd": "${workspaceRoot}"
            // },
            // {
            //     "type": "gdb",
            //     "request": "attach",
            //     "name": "serial-dma-tx",
            //     "gdbpath": "/usr/bin/arm-none-eabi-gdb",
            //     "executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-dma-tx",
            //     "target": ":3333",
            //     "remote": true,
            //     "autorun": [
            //         "load"
            //     ],
            //     "cwd": "${workspaceRoot}"
            // },
            {
                "type": "cortex-debug",
                "request": "launch",
                "servertype": "openocd",
                "name": "c serial-dma-tx",
                "executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-dma-tx",
                "configFiles": [
                    "interface/stlink.cfg",
                    "target/stm32f4x.cfg"
                ],
                // "swoConfig": [
                // "enabled": "true",
                // "swoFrequency": "0",
                // "cpuFrequency": "0",
                // "ports": [
                //     [
                //         "number": "0",
                //         "label": "0",
                //         "format": "console",
                //     ]
                // ]
                // ],
                "cwd": "${workspaceRoot}"
            },
            {
                "type": "cortex-debug",
                "request": "launch",
                "servertype": "openocd",
                "name": "c rtfm-serial-dma-tx",
                "executable": "./target/thumbv7em-none-eabihf/debug/examples/rtfm-serial-dma-tx",
                "configFiles": [
                    "interface/stlink.cfg",
                    "target/stm32f4x.cfg"
                ],
                "cwd": "${workspaceRoot}"
            },
            {
                "type": "cortex-debug",
                "request": "launch",
                "servertype": "openocd",
                "name": "c serial-dma-rx",
                "executable": "./target/thumbv7em-none-eabihf/debug/examples/serial-dma-rx",
                "configFiles": [
                    "interface/stlink.cfg",
                    "target/stm32f4x.cfg"
                ],
                "cwd": "${workspaceRoot}"
            }
        ]
    }