{ "version": "2.0.0", "tasks": [ { "label": "CMSIS Load+Run", "problemMatcher": [], "dependsOn": [ "CMSIS Load", "CMSIS Run" ], "dependsOrder": "sequence" }, { "label": "CMSIS Erase", "type": "shell", "command": "pyocd", "options": { "cwd": "${workspaceFolder}/", "shell": { "executable": "cmd.exe", "args": [ "/d", "/c" ] } }, "args": [ "erase", "--probe", "stlink:", "--chip", "--cbuild-run", "${command:cmsis-csolution.getCbuildRunFile}" ], "problemMatcher": [] }, { "label": "CMSIS Load", "type": "shell", "command": "pyocd", "options": { "cwd": "${workspaceFolder}/", "shell": { "executable": "cmd.exe", "args": [ "/d", "/c" ] } }, "args": [ "load", "--probe", "stlink:", "--cbuild-run", "${command:cmsis-csolution.getCbuildRunFile}" ], "problemMatcher": [] }, { "label": "CMSIS Run", "type": "shell", "command": "pyocd", "options": { "cwd": "${workspaceFolder}/", "shell": { "executable": "cmd.exe", "args": [ "/d", "/c" ] } }, "args": [ "gdbserver", "--probe", "stlink:", "--connect", "attach", "--persist", "--reset-run", "--cbuild-run", "${command:cmsis-csolution.getCbuildRunFile}", "--quiet", "--log", "*.cbuild_run,*server=info" ], "problemMatcher": [] }, { "label": "CMSIS TargetInfo", "type": "shell", "command": "pyocd", "options": { "cwd": "${workspaceFolder}/", "shell": { "executable": "cmd.exe", "args": [ "/d", "/c" ] } }, "args": [ "list", "--cbuild-run", "${command:cmsis-csolution.getCbuildRunFile}" ], "problemMatcher": [] } ] }