2020-11-11 16:30:31 -08:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
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",
|
2021-05-19 00:38:39 -07:00
|
|
|
"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",
|
2021-05-19 00:38:39 -07:00
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|