{ "version": "0.2.0", "configurations": [ { "name": "Cortex Debug", "armToolchainPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\9 2019-q4-major\\bin", "serverpath": "C:\\Program Files\\GNU MCU Eclipse\\OpenOCD\\0.10.0-12-20190422-2015\\bin\\openocd.exe", "cwd": "${workspaceFolder}\\Debug", "executable": "${workspaceFolder}\\Debug\\${workspaceFolderBasename}.elf", "request": "launch", "type": "cortex-debug", "servertype": "openocd", "device": "STM32F767ZI", "interface": "swd", "svdFile": "${workspaceFolder}\\..\\STM32F7x7.svd", "configFiles": [ "board/st_nucleo_f7.cfg" ], "openOCDLaunchCommands": [ "gdb_breakpoint_override hard", "gdb_flash_program disable", "gdb_memory_map disable" ], "preLaunchCommands": [ "-environment-cd ${workspaceRoot}/Debug", "-gdb-set breakpoint pending on", "monitor reset init", "monitor halt", "monitor arm semihosting enable", "load ${workspaceFolderBasename}.elf", "enable breakpoint" ], //"preLaunchTask": "build app_iothub_client" } ] }