{ "version": "0.2.0", "configurations": [ { "name": "Cortex Debug", "cwd": "${workspaceRoot}", "executable": "build/${workspaceFolderBasename}.elf", "request": "launch", "type": "cortex-debug", "servertype": "openocd", "runToMain": true, "preLaunchTask": "build", // далее параметры для конкретного камня "device": "STM32F411RE", "svdFile": "${workspaceRoot}/Docs/STM32F411.svd", "configFiles": [ "interface/stlink-v2-1.cfg", "target/stm32f4x.cfg" ], "swoConfig": { "enabled": true, "cpuFrequency": 8000000, "swoFrequency": 2000000, "source": "probe", "decoders": [ { "type": "console", "label": "ITM", "port": 0 } ] } } ] }