bootloader debug configs

This commit is contained in:
Matthew Kennedy 2023-08-27 17:03:12 -07:00
parent ee89ab88d6
commit d4bbd552ad
1 changed files with 26 additions and 0 deletions

26
.vscode/launch.json vendored
View File

@ -76,6 +76,19 @@
"configFiles": ["interface/stlink.cfg", "target/stm32f4x.cfg"], "configFiles": ["interface/stlink.cfg", "target/stm32f4x.cfg"],
"rtos": "auto" "rtos": "auto"
}, },
{
"name": "Debug Bootloader F42x",
"type": "cortex-debug",
"request": "launch",
"cwd": "${workspaceFolder}/firmware",
"executable": "${workspaceRoot}/firmware/bootloader/blbuild/fome_bl.elf",
"device": "STM32F429Z",
"v1": false,
"svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/STM32F427.svd",
"servertype": "openocd",
"configFiles": ["interface/stlink.cfg", "target/stm32f4x.cfg"],
"rtos": "auto"
},
{ {
"name": "Debug F7x6", "name": "Debug F7x6",
"type": "cortex-debug", "type": "cortex-debug",
@ -101,6 +114,19 @@
"servertype": "openocd", "servertype": "openocd",
"configFiles": ["interface/stlink.cfg", "target/stm32h7x.cfg"], "configFiles": ["interface/stlink.cfg", "target/stm32h7x.cfg"],
"rtos": "auto" "rtos": "auto"
},
{
"name": "Debug Bootloader H743",
"type": "cortex-debug",
"request": "launch",
"cwd": "${workspaceFolder}/firmware",
"executable": "${workspaceRoot}/firmware/bootloader/blbuild/fome_bl.elf",
"device": "STM32H743V",
"v1": false,
"svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/STM32H743x.svd",
"servertype": "openocd",
"configFiles": ["interface/stlink.cfg", "target/stm32h7x.cfg"],
"rtos": "auto"
} }
] ]
} }