{
    "version": "2.0.0",
    "tasks": [
      {
        "label": "Initialize QEMU Build Directory",
        "type": "shell",
        "command": "mkdir -p ${BFBUILD_QEMU} && cd ${BFBUILD_QEMU} && ${BFAOS}/hake/hake.sh -s ${BFAOS} && make -j7 QEMU",
        "group": {
          "kind": "build",
          "isDefault": true
        }
      },
      {
        "label": "Build and Run QEMU",
        "type": "shell",
        "command": "cd ${BFBUILD_QEMU} && make qemu_a57",
        "group": {
          "kind": "build",
          "isDefault": true
        }
      },
      {
        "label": "Initialize Toradex Build Directory",
        "type": "shell",
        "command": "mkdir -p ${BFBUILD} && cd ${BFBUILD} && ${BFAOS}/hake/hake.sh -s ${BFAOS} -a armv8 && make -j7 QEMU",
        "group": {
          "kind": "build",
          "isDefault": true
        }
      },
      {
        "label": "Build and Run Toradex",
        "type": "shell",
        "command": "cd ${BFBUILD} && make -j7 imx8x && make usbboot_imx8x",
        "group": {
          "kind": "build",
          "isDefault": true
        }
      },
      {
        "label": "Toradex Console",
        "type": "shell",
        "command": "if ! picocom -b 115200 -f n /dev/ttyUSB0; then echo; echo !!!Make sure you installed the toradex udev rules to allow user access!!!; fi",
        "group": {
          "kind": "build",
          "isDefault": true
        }
      }
    ]
  }
  