Files
bf_original_balance_chassis/.vscode/launch.json

98 lines
3.1 KiB
JSON
Raw Normal View History

2022-10-20 17:13:02 +08:00
{
// 启动调试的快捷键是F5
2022-10-20 17:13:02 +08:00
"version": "0.2.0",
"configurations": [
2022-11-19 22:47:45 +08:00
{
"name": "DAPlink",
2022-10-20 17:13:02 +08:00
"cwd": "${workspaceRoot}",
2026-07-07 02:03:16 +08:00
"executable": "${workspaceRoot}\\build\\basic_framework.elf",
2022-10-20 17:13:02 +08:00
"request": "launch",
"type": "cortex-debug",
"device": "STM32F407IG",
"svdFile": "STM32F407.svd",
2026-07-07 02:03:16 +08:00
"servertype": "openocd",
2022-11-12 18:03:18 +08:00
"configFiles": [
2026-07-07 02:03:16 +08:00
"openocd_dap.cfg"
2022-10-20 17:13:02 +08:00
],
2026-07-07 02:03:16 +08:00
"runToEntryPoint": "main",
"rtos": "FreeRTOS",
2026-07-07 02:03:16 +08:00
"preLaunchTask": "build task",
2024-01-14 21:22:34 +08:00
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
}
2022-10-30 22:19:13 +08:00
},
2022-11-19 22:47:45 +08:00
{
"name": "Jlink",
2022-10-30 22:19:13 +08:00
"cwd": "${workspaceFolder}",
"executable": "${workspaceRoot}\\build\\basic_framework.elf",
2022-10-30 22:19:13 +08:00
"request": "launch",
"type": "cortex-debug",
"device": "STM32F407IG",
"runToEntryPoint": "main",
"showDevDebugOutput": "none",
"servertype": "jlink",
"interface": "swd",
"svdFile": "STM32F407.svd",
"rtos": "FreeRTOS",
2024-01-14 21:22:34 +08:00
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
2026-07-07 02:03:16 +08:00
}
},
{
"name": "DAP-attach",
"cwd": "${workspaceRoot}",
2026-07-07 02:03:16 +08:00
"executable": "${workspaceRoot}\\build\\basic_framework.elf",
"request": "attach",
"type": "cortex-debug",
"device": "STM32F407IG",
"svdFile": "STM32F407.svd",
"servertype": "openocd",
"configFiles": [
2026-07-07 02:03:16 +08:00
"openocd_dap.cfg"
]
},
{
"name": "Jlink-attach",
"cwd": "${workspaceFolder}",
"executable": "${workspaceRoot}\\build\\basic_framework.elf",
"request": "attach",
"type": "cortex-debug",
"device": "STM32F407IG",
"showDevDebugOutput": "none",
"servertype": "jlink",
"interface": "swd",
"svdFile": "STM32F407.svd",
2026-07-07 02:03:16 +08:00
"rtos": "FreeRTOS"
},
{
"showDevDebugOutput": "parsed",
"cwd": "${workspaceRoot}",
"executable": "./build/debug/basic_framework.elf",
"name": "Debug STM32",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"preLaunchTask": "Build STM",
"device": "stm32f407",
"configFiles": [
"openocd.cfg"
]
},
2026-07-07 02:03:16 +08:00
{
"showDevDebugOutput": "parsed",
"cwd": "${workspaceRoot}",
"executable": "./build/debug/basic_framework.elf",
"name": "Attach STM32",
"request": "attach",
"type": "cortex-debug",
"servertype": "openocd",
"preLaunchTask": "Build STM",
"device": "stm32f407",
"configFiles": [
"openocd.cfg"
]
}
],
2022-10-20 17:13:02 +08:00
}