|
|
@@ -5,47 +5,52 @@ TinyUSB for RT-Thread Port
|
|
|
|
|
|
TinyUSB is an open source cross-platform USB stack for embedded system.
|
|
|
|
|
|
-1、 Getting start
|
|
|
------------------
|
|
|
+1 Getting Start
|
|
|
+----------------
|
|
|
|
|
|
-The specific path in RT-Thread package manager is as follows:
|
|
|
+### 1.1 ENV
|
|
|
+
|
|
|
+The specific path in RT-Thread ENV package manager is as follows:
|
|
|
|
|
|
``` {.sourceCode .text}
|
|
|
-> RT-Thread online packages
|
|
|
-> system packages
|
|
|
- --- TinyUSB (offical): an open source cross-platform USB stack for embedded system
|
|
|
- (2048) TinyUSB thread stack size
|
|
|
- [*] Using USB device ---->
|
|
|
- [*] Using Communication Device Class (CDC)
|
|
|
- [*] Using Mass Storage Class (MSC)
|
|
|
- () The name of the device used by MSC
|
|
|
- Version (latest) --->
|
|
|
+ --- TinyUSB: an open source cross-platform USB stack for embedded system
|
|
|
+ (2048) TinyUSB thread stack size
|
|
|
+ (8) TinyUSB thread priority
|
|
|
+ (.data) Memory section name
|
|
|
+ (4) Memory align size
|
|
|
+ Port number (1) --->
|
|
|
+ Port speed (Full Speed) --->
|
|
|
+ [*] Using USB device --->
|
|
|
+ TinyUSB debug level (No debug) --->
|
|
|
+ Version (v0.13.0) --->
|
|
|
```
|
|
|
|
|
|
-The configuration instructions for each function are as follows:
|
|
|
-
|
|
|
-- TinyUSB thread stack size
|
|
|
-- Whether to use a USB device
|
|
|
-- Using CDC
|
|
|
-- Using MSC
|
|
|
-- Name of the block device used for MSC read/write
|
|
|
-
|
|
|
Then let the RT-Thread package manager automatically update, or use the
|
|
|
`pkgs --update` command to update the package to the BSP.
|
|
|
|
|
|
-2、Support
|
|
|
-----------
|
|
|
+### 1.2 RT-Thread Studio
|
|
|
+
|
|
|
+Search for `TinyUSB` in RT-Thread Settings to add the package to the project.
|
|
|
|
|
|
-### 2.1、MCU
|
|
|
+
|
|
|
|
|
|
-Currently only the STM32 family of MCUs is supported.
|
|
|
+2 Support
|
|
|
+-----------
|
|
|
|
|
|
-### 2.2、Device class
|
|
|
+### 2.1 MCU
|
|
|
|
|
|
-- Communication Device Class (CDC)
|
|
|
-- Mass Storage Class (MSC)
|
|
|
+- STM32 series
|
|
|
+- nRF52840
|
|
|
+- HPM6000 series
|
|
|
|
|
|
-3、Feedback
|
|
|
------------
|
|
|
+### 2.2 Device Stack
|
|
|
+
|
|
|
+- Communication Device Class (CDC)
|
|
|
+- Mass Storage Class (MSC)
|
|
|
+- Human Interface Device (HID)
|
|
|
+
|
|
|
+# 3 Feedback
|
|
|
|
|
|
-issue: [tfx2001/tinyusb](https://github.com/tfx2001/tinyusb/issues)
|
|
|
+Issue: [RT-Thread-packages/tinyusb](https://github.com/RT-Thread-packages/tinyusb/issues)
|