linux-automation / meta-lxatac

Build your own LXA TAC images and bundles
MIT License
5 stars 15 forks source link

meta-lxatac-software: tac-gadget: Multi function USB gadget #49

Closed hnez closed 11 months ago

hnez commented 1 year ago

This PR adds a devicetree patch that enables using multiple USB gadget functions a the same time (see this mail thread for why this is required) and a set of scripts to set up such multi-function gadgets.

We are currently still limited to two functions at once by the FIFO configuration, as two functions (using the maximum message sizes currently configured in the drivers) is the maximum that can fit into the 4K SRAM of the dwc2 controller.

I've thus added the following two-function setup scripts that I could come up with a use case for:

Related Pull Requests

This PR is based on another PRs that should be kept in mind: