mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-28 16:13:37 +08:00
36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
// For the Cortex-Debug extension
|
|
"type": "cortex-debug",
|
|
"servertype": "openocd",
|
|
"request": "launch",
|
|
"name": "Debug ODrive",
|
|
"executable": "${workspaceRoot}/build/ODriveFirmware.elf",
|
|
"configFiles": [
|
|
"interface/stlink-v2.cfg",
|
|
"target/stm32f4x_stlink.cfg",
|
|
],
|
|
"svdFile": "${workspaceRoot}/Board/v3/STM32F40x.svd",
|
|
"cwd": "${workspaceRoot}"
|
|
},
|
|
{
|
|
// For the Cortex-Debug extension
|
|
"type": "cortex-debug",
|
|
"servertype": "openocd",
|
|
"request": "launch",
|
|
"name": "Debug ODrive - FreeRTOS",
|
|
"executable": "${workspaceRoot}/build/ODriveFirmware.elf",
|
|
"rtos": "FreeRTOS",
|
|
"configFiles": [
|
|
"interface/stlink-v2.cfg",
|
|
"target/stm32f4x_stlink.cfg",
|
|
],
|
|
"cwd": "${workspaceRoot}"
|
|
},
|
|
]
|
|
} |