{
    "version": "2.0.0",
    "options": {
        "env": {
            "APPLICATION": "blinky",
            // "APPLICATION": "spi",
            // "APPLICATION": "st7789_lcd",
        },
    },
    "presentation": {
        "focus": true,
        "reveal": "always",
        "panel": "shared",
        "clear": true,
    },
    "tasks": [
        {
            "label": "all",
            "type":"shell",
            "command": "make all -j8",
            "problemMatcher": {
                "base": "$gcc",
                "owner": "gcc",
                "fileLocation": [
                    "relative",
                    "${workspaceFolder}"
                ]
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "flash",
            "type":"shell",
            "command": "make flash",
            "problemMatcher": {
                "base": "$gcc",
                "owner": "gcc",
                "fileLocation": [
                    "relative",
                    "${workspaceFolder}"
                ]
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "clean",
            "type":"shell",
            "command": "make clean -j8",
            "problemMatcher": {
                "base": "$gcc",
                "owner": "gcc",
                "fileLocation": [
                    "relative",
                    "${workspaceFolder}"
                ]
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "distclean",
            "type":"shell",
            "command": "make distclean",
            "problemMatcher": {
                "base": "$gcc",
                "owner": "gcc",
                "fileLocation": [
                    "relative",
                    "${workspaceFolder}"
                ]
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        },
        {
            "label": "check",
            "type":"shell",
            "command": "make check",
            "problemMatcher": {
                "base": "$gcc",
                "owner": "gcc",
                "fileLocation": [
                    "relative",
                    "${workspaceFolder}"
                ]
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}
