Setting up debugging
This commit is contained in:
parent
2aa08f20a0
commit
ba338eebb5
5 changed files with 28 additions and 2 deletions
20
.vscode/launch.json
vendored
Normal file
20
.vscode/launch.json
vendored
Normal 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
4
.vscode/settings.json
vendored
Normal 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/",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue