Setting up debugging

This commit is contained in:
Attila Body 2019-09-29 21:56:35 +02:00
parent 2aa08f20a0
commit ba338eebb5
5 changed files with 28 additions and 2 deletions

20
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,20 @@
{
// 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",
"cwd": "${workspaceRoot}",
"executable": "./build/f407zgt6_hs_uart.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "jlink",
"device": "STM32F407ZE",
"interface": "swd",
"ipAddress": null,
"serialNumber": null
}
]
}

4
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,4 @@
{
"cortex-debug.armToolchainPath": "/opt/shared/arm/gcc-arm-none-eabi-8-2018-q4-major/bin/",
"cortex-debug.openocdPath": "/opt/shared/arm/gnu-mcu-eclipse/openocd/0.10.0-12-20190422-2015/bin/",
}