wideband/.vscode/launch.json

65 lines
2.5 KiB
JSON
Raw Normal View History

2020-11-11 16:30:31 -08:00
{
"version": "0.2.0",
"configurations": [
2023-11-13 13:56:11 -08:00
{
"name": "Debug Unit Tests (gdb)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/test/build/wideband_test",
// uncomment args below to only debug a particular test
//"args": ["--gtest_filter=Heater.StatePreheat"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/test/",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
2020-11-11 16:30:31 -08:00
{
2020-12-08 23:40:54 -08:00
"name": "Debug F042 (firmware)",
2020-11-11 16:30:31 -08:00
"type": "cortex-debug",
"request": "launch",
"cwd": "${workspaceFolder}/firmware/",
2020-11-11 16:30:31 -08:00
"executable": "${workspaceRoot}/firmware/build/wideband.elf",
"device": "STM32F042K6",
"v1": false,
"svdFile": "${workspaceRoot}/firmware/cmsis-svd/data/STMicro/STM32F042x.svd",
"servertype": "openocd",
2022-12-02 22:24:33 -08:00
"configFiles": ["interface/stlink.cfg", "target/stm32f0x.cfg"],
"rtos": "auto"
2020-12-08 23:40:54 -08:00
},
{
"name": "Debug F042 (bootloader)",
"type": "cortex-debug",
"request": "launch",
"cwd": "${workspaceFolder}/firmware/boards/f0_module/bootloader/",
2021-03-17 23:57:29 -07:00
"executable": "${workspaceRoot}/firmware/boards/f0_module/bootloader/build/wideband_bootloader.elf",
2020-12-08 23:40:54 -08:00
"device": "STM32F042K6",
"v1": false,
"svdFile": "${workspaceRoot}/firmware/cmsis-svd/data/STMicro/STM32F042x.svd",
"servertype": "openocd",
2022-12-02 22:24:33 -08:00
"configFiles": ["interface/stlink.cfg", "target/stm32f0x.cfg"],
"rtos": "auto"
2022-12-01 19:15:30 -08:00
},
{
"name": "Debug F1",
"type": "cortex-debug",
"request": "launch",
"cwd": "${workspaceFolder}/firmware/",
"executable": "${workspaceRoot}/firmware/build/wideband.elf",
"device": "STM32F103CB",
"v1": false,
"svdFile": "${workspaceRoot}/firmware/cmsis-svd/data/STMicro/STM32F103xx.svd",
"servertype": "openocd",
2022-12-02 22:24:33 -08:00
"configFiles": ["interface/stlink.cfg", "target/stm32f1x.cfg"],
"rtos": "auto"
2020-11-11 16:30:31 -08:00
}
]
}