Files
bacnet_stack/ports/stm32f4xx/.vscode/launch.json
T
Steve Karg ef762118a6 Chore/refactor dlmstp core mstp (#559)
* Create common DLMSTP using core MSTP FSM in STM32F4xx example

* add openocd debug launcher under vscode in STM32F4xx example

* Add generic property list member checking for write property members of network port object in STM32F4xx example
2024-01-27 15:16:42 -06:00

46 lines
1.2 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug with OpenOCD",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/build/bacnet-mstp.elf",
"servertype": "openocd",
"device": "STM32F429ZI",
"serialNumber": "",
"configFiles": [
"interface/stlink.cfg",
"target/stm32f4x.cfg"
],
"searchDir": [],
"svdFile":"${workspaceRoot}/stm32f429.svd",
"runToEntryPoint": "main",
"swoConfig": {
"enabled": true,
"cpuFrequency": 8000000,
"swoFrequency": 2000000,
"source": "probe",
"decoders": [
{ "type": "console", "label": "ITM", "port": 0 }
]
},
"preLaunchCommands": [
// guarantee the halt at soon as possible after reset
"monitor reset",
"monitor sleep 2000",
"monitor reset halt",
// synchronize GDB to the state of the target after reset
"monitor gdb_sync",
"stepi"
],
"postLaunchCommands": [
"monitor reset init",
"monitor sleep 200"
],
"showDevDebugOutput": "raw"
}
]
}