{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", "linux" : { "command": "bash", "suppressTaskName": true, "isShellCommand": true, "showOutput": "always", "args": [ "-c" ], "tasks": [ { "taskName": "clean", "suppressTaskName": true, "args": ["make clean && echo DONE"] }, { "taskName": "build", "suppressTaskName": true, "isBuildCommand": true, "args": ["make"], "problemMatcher": { "owner": "cpp", "fileLocation": ["relative", "${workspaceRoot}/mbed-os"], "pattern": { "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } } }, { "taskName": "deploy", "suppressTaskName": true, "args": ["not implemented"] }, { // This task will never end. So it will never go through to the next!!! "taskName": "debug_server", //"isBackground": true, "suppressTaskName": true, "args": ["openocd -f /usr/share/openocd/scripts/board/st_nucleo_f4.cfg -f /usr/share/openocd/scripts/interface/stlink-v2-1.cfg -c init -c 'reset init'"] } ] }, "osx" : { "command": "bash", "suppressTaskName": true, "isShellCommand": true, "showOutput": "always", "args": [ "-c" ], "tasks": [ { "taskName": "clean", "suppressTaskName": true, "args": ["make clean && echo DONE"] }, { "taskName": "build", "suppressTaskName": true, "isBuildCommand": true, "args": ["make"], "problemMatcher": { "owner": "cpp", "fileLocation": ["relative", "${workspaceRoot}/mbed-os"], "pattern": { "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } } }, { "taskName": "deploy", "suppressTaskName": true, "args": ["not implemented"] }, { // This task will never end. So it will never go through to the next!!! "taskName": "debug_server", //"isBackground": true, "suppressTaskName": true, "args": ["openocd -f /usr/local/share/openocd/scripts/board/st_nucleo_f4.cfg -f /usr/local/share/openocd/scripts/interface/stlink-v2-1.cfg -c init -c 'reset init'"] } ] } }