atsame54p20a/.vscode/launch.json

35 lines
1.1 KiB
JSON
Raw Permalink Normal View History

2022-01-11 06:20:48 +00:00
{
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug (OpenOCD)",
"servertype": "openocd",
"cwd": "${workspaceRoot}",
"preLaunchTask": "Cargo Build (debug)",
"runToMain": true,
"executable": "./target/thumbv7em-none-eabihf/debug/atsame54p20a",
"device": "SAM54P20A",
"configFiles": [
"/usr/share/openocd/scripts/interface/cmsis-dap.cfg",
"/usr/share/openocd/scripts/board/microchip_same54_xplained_pro.cfg"
],
"swoConfig": {
"enabled": true,
"cpuFrequency": 120000000,
"swoFrequency": 2000000,
"source": "probe",
"decoders": [
{ "type": "console", "label": "ITM", "port": 0 }
]
},
"preLaunchCommands": [
"monitor init;reset",
"monitor arm semihosting enable"
],
"showDevDebugOutput": true
}
]
}