vbox-firmware/.vscode/launch.json

55 lines
1.9 KiB
JSON

{
// 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": [
{
"name": "Cortex Debug stlink openocd",
"cwd": "${workspaceFolder}",
"executable": "./build/arduino_oleddisplay.ino.elf",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"servertype": "openocd",
"device": "atsamd21g18a",
"configFiles": [
// "/home/bach/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7/share/openocd/scripts/board/atmel_samd21_xplained_pro.cfg"
"./openocd/openocd-stlink-samd21.cfg"
],
"svdFile": "/home/bach/Electronic/Samd21/svd-master/ATSAMD21G18A.svd",
"showDevDebugOutput":"raw"
},
{
"name": "BMP attach",
"cwd": "${workspaceRoot}",
"executable": "./build/arduino_oleddisplay.ino.elf",
"request": "attach", // "launch" also works perhaps
"type": "cortex-debug",
"servertype": "bmp",
"interface": "swd",
"device": "atsamd21g18a",
"BMPGDBSerialPort": "/dev/ttyBmpGdb",
},
{
"name": "BMP debug samd",
"cwd": "${workspaceFolder}",
"executable": "./build/arduino_oleddisplay.ino.elf",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"servertype": "bmp",
"interface": "swd",
"BMPGDBSerialPort": "/dev/ttyBmpGdb",
"device": "atsamd21g18a",
// "device": "stm32f103",
// "runToMain": true,
// "configFiles": [
// // "/home/bach/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7/share/openocd/scripts/board/atmel_samd21_xplained_pro.cfg"
// "./openocd/openocd-stlink-samd21.cfg"
// ],
"svdFile": "/home/bach/Electronic/Samd21/svd-master/ATSAMD21G18A.svd",
"showDevDebugOutput":"raw"
}
]
}