From d4bbd552ad449824a13c001b9173b2a9566db061 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 27 Aug 2023 17:03:12 -0700 Subject: [PATCH] bootloader debug configs --- .vscode/launch.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 2d6f2d5a13..e130cd519a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -76,6 +76,19 @@ "configFiles": ["interface/stlink.cfg", "target/stm32f4x.cfg"], "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", "type": "cortex-debug", @@ -101,6 +114,19 @@ "servertype": "openocd", "configFiles": ["interface/stlink.cfg", "target/stm32h7x.cfg"], "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" } ] } \ No newline at end of file