tree: a53232906404bb15e9e14570433001da4543948a [path history] [tgz]
  1. usb-adb-function/
  2. README.md
src/developer/adb/drivers/README.md

adb function driver

This directory contains driver code for adb support. These drivers may be used with Fuchsia adbd or any other adb daemons, for example a Linux-based adbd running in Starnix.

How to include adb function driver in a Fuchsia image

To include adb support into the build, add the usb peripheral configuration shown below to platform assembly configuration and include adb_support assembly input bundle.

"usb": {
    "peripheral": {
        "functions": [
            "cdc",
            "adb",
        ],
    },
},

adb can only be used on boards that support USB peripheral mode.