This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:vim2:configurations:usb-gadget [2022/07/08 03:32] 127.0.0.1 external edit |
products:sbc:vim2:configurations:usb-gadget [2022/09/07 02:53] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== USB Gadget ====== | + | ====== |
- | + | ||
- | ===== Introduction ===== | + | |
- | + | ||
- | This document mainly introduces USB gadget. You will learn how to configure and enable USB gadget Usage. | + | |
- | + | ||
- | ===== System Configuration ===== | + | |
- | + | ||
- | ==== Upgrade System ==== | + | |
- | + | ||
- | Follow [[/ | + | |
- | + | ||
- | ==== Configure DTS Overlays ==== | + | |
- | + | ||
- | Open ''/ | + | |
- | + | ||
- | ```sh | + | |
- | khadas@khadas: | + | |
- | ``` | + | |
- | + | ||
- | Add '' | + | |
- | + | ||
- | ``` | + | |
- | overlays=uart3 pwm_f i2c3 os08a10 --> overlays=uart3 pwm_f i2c3 os08a10 otg-device | + | |
- | ``` | + | |
- | + | ||
- | ==== Enable Service ==== | + | |
- | + | ||
- | ```sh | + | |
- | khadas@khadas: | + | |
- | ``` | + | |
- | + | ||
- | Reboot to effect. | + | |
- | + | ||
- | ```sh | + | |
- | khadas@khadas: | + | |
- | khadas@khadas: | + | |
- | ``` | + | |
+ | {{page> |