{ "version": "2.0.0", "tasks": [ { "label": "Configure", "detail": "configure project", "type": "shell", "command": "cmake", "args": [ "-H.", "-Bbuild" ], "group": "build", "presentation": { "echo": true, "reveal": "always", "focus": true, "panel": "shared", "showReuseMessage": true, "clear": true } }, { "label": "Build", "detail": "Build project", "dependsOn": [ "Configure" ], "type": "shell", "command": "make", "args": [ "-C", "build", "-j$(nproc)" ], "group": "build", "presentation": { "echo": true, "reveal": "always", "focus": true, "panel": "shared", "showReuseMessage": true, "clear": true } }, { "label": "Flash Host", "detail": "Build and flash USB host", "type": "shell", "dependsOn": [ "Configure" ], "command": "make", "args": [ "-C", "build", "-j$(nproc)", "Flash_Host" ], "group": "build", "presentation": { "echo": true, "reveal": "always", "focus": true, "panel": "shared", "showReuseMessage": true, "clear": true } }, { "label": "Flash Device", "detail": "Build and flash USB device", "type": "shell", "dependsOn": [ "Configure" ], "command": "make", "args": [ "-C", "build", "-j$(nproc)", "Flash_Device" ], "group": "build", "presentation": { "echo": true, "reveal": "always", "focus": true, "panel": "shared", "showReuseMessage": true, "clear": true } }, { "label": "Clean", "detail": "Clean build directory and executable", "type": "shell", "command": "rm", "args": [ "-rf", "build" ], "group": "build", "presentation": { "echo": false, "reveal": "never", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true } } ] }