update readme

This commit is contained in:
sakimisu
2022-12-31 22:48:05 +08:00
parent 914d3cbf42
commit 8955bf5f0d
2 changed files with 8 additions and 6 deletions

View File

@@ -87,7 +87,8 @@ CherryUSB Host 协议栈当前实现以下功能:
- 支持 Communication Device Class (CDC)
- 支持 Human Interface Device (HID)
- 支持 Mass Storage Class (MSC)
- 支持 USB VIDEO CLASS
- Support USB Video CLASS
- Support USB Audio CLASS
- 支持 Remote NDIS (RNDIS)
- 支持 Vendor 类 class
@@ -98,11 +99,11 @@ CherryUSB Host 协议栈资源占用说明GCC 10.2 with -O2
| file | FLASH (Byte) | No Cache RAM (Byte) | RAM (Byte) | Heap (Byte) |
|:-------------:|:--------------:|:-------------------------------:|:---------------------------:|:-------------------------------:|
|usbh_core.c | 4261 | 512 | 28 | sizeof(struct usbh_urb) |
|usbh_hub.c | 4633 | sizeof(struct usbh_hub) * (1+n) | sizeof(struct usbh_hubport) + 20 | 0 |
|usbh_hub.c | 4633 | sizeof(struct usbh_hub) * (1+n) | 20 | 0 |
|usbh_cdc_acm.c | 1004 | 7 | 4 | sizeof(struct usbh_cdc_acm) * x |
|usbh_msc.c | 1776 | 32 | 4 | sizeof(struct usbh_msc) * x |
|usbh_hid.c | 822 | 128 | 4 | sizeof(struct usbh_hid) * x |
|usbh_video.c | 3587 | 128 | 4100(yuv2rgb) | sizeof(struct usbh_video) * x |
|usbh_video.c | 3587 | 128 | 4100(yuv2rgb, optional) | sizeof(struct usbh_video) * x |
其中,`sizeof(struct usbh_hub)``sizeof(struct usbh_hubport)` 受以下宏影响: