diff options
| author | sakumisu <[email protected]> | 2026-05-19 21:03:56 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2026-05-19 21:03:56 +0800 |
| commit | e51f0b38ef7ff9cd1d066645c1bd1d9541830e7f (patch) | |
| tree | 11497c18d12e9dfdb17209ba9a333c360fdd538d | |
| parent | 3e595a30db1c2de08c15d721ed4a1fa2a11c92dd (diff) | |
docs: fix missing image
Signed-off-by: sakumisu <[email protected]>
| -rw-r--r-- | README_zh.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/README_zh.md b/README_zh.md index 59d11a06..00b6e083 100644 --- a/README_zh.md +++ b/README_zh.md @@ -97,6 +97,8 @@ CherryUSB Device 协议栈资源占用说明(GCC 10.2 with -O2): |usbd_mtp.c | ~9000 | 2048(default)+128 | sizeof(struct mtp_object) * n| 0 | |usbd_dfu.c | ~800 | 0 | 1 | 0 | + + ## Host 协议栈简介 CherryUSB Host 协议栈对挂载在 root hub、外部 hub 上的设备规范了一套标准的枚举实现,对不同的 Class 类也规范了一套标准接口,用来指示在枚举后和断开连接后该 Class 驱动需要做的事情。同时,规范了一套标准的 hcd porting 接口,用于适配不同的 USB IP,达到面向 IP 编程。最后,协议栈使用 OS 管理,并提供了 osal 用来适配不同的 os。 @@ -148,6 +150,8 @@ CherryUSB Host 协议栈资源占用说明(GCC 10.2 with -O2,关闭 log)� |usbh_pl2303.c | ~2500 | 0 | 0 | 0 | |usbh_gsm.c | ~300 | 0 | 0 | 0 | + + 其中,`sizeof(struct usbh_hub)` 和 `sizeof(struct usbh_hubport)` 受以下宏影响: ``` |
