🔨 OpenOCD Debug for VSCode
This commit is contained in:
		| @@ -12,26 +12,17 @@ | ||||
|     "version": "0.2.0", | ||||
|     "configurations": [ | ||||
|         { | ||||
|             "name": "Debug STM32 (launch)", | ||||
|             "name": "Debug STM32 (ST-Link)", | ||||
|             "request": "launch", | ||||
|             "type": "cortex-debug", | ||||
|             "servertype": "openocd", | ||||
|             "cwd": "${workspaceRoot}", | ||||
|             "showDevDebugOutput": false, | ||||
|             "configFiles": [ "interface/stlink.cfg", "target/stm32f4x.cfg" ], | ||||
|             "device": "STM32F407", | ||||
|             "executable": ".pio/build/BIGTREE_SKR_2_USB_debug/firmware.elf", | ||||
|         }, | ||||
|         { | ||||
|             "name": "Debug STM32 (attach)", | ||||
|             "request": "attach", | ||||
|             "type": "cortex-debug", | ||||
|             "servertype": "openocd", | ||||
|             "cwd": "${workspaceRoot}", | ||||
|             "showDevDebugOutput": false, | ||||
|             "configFiles": [ "interface/stlink.cfg", "target/stm32f4x.cfg" ], | ||||
|             "device": "STM32F407", | ||||
|             "executable": ".pio/build/BIGTREE_SKR_2_USB_debug/firmware.elf", | ||||
|             "device": "stlink", | ||||
|             "executable": "${workspaceRoot}/.pio/build/BIGTREE_SKR_2_USB_debug/firmware.elf", | ||||
|             "openOCDLaunchCommands": [ "init", "reset init" ], | ||||
|             "svdFile": "${env:HOME}/.platformio/platforms/ststm32@12.1.1/misc/svd/STM32F40x.svd", | ||||
|         }, | ||||
|         { | ||||
|             "name": "Debug Sim", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user