update host memory usage

This commit is contained in:
sakumisu
2022-06-23 21:30:32 +08:00
parent 8753efb935
commit 0dd5f28e3c
2 changed files with 21 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ CherryUSB Device Stack has the following functions
- Support WINUSB1.0、WINUSB2.0(with BOS)
- Support Vendor class
CherryUSB Device Stack resource usage (GCC 10.2 with -O2)
CherryUSB Device Stack resource usage (GCC 10.2 with -O2):
| file | FLASH (Byte) | RAM (Byte) |
|:-----------:|:--------------:|:------------:|
@@ -92,6 +92,16 @@ CherryUSB Host Stack has the following functions
The CherryUSB Host stack also provides the lsusb function, which allows you to view information about all mounted devices, including those on external hubs, with the help of a shell plugin.
CherryUSB Host Stack resource usage (GCC 10.2 with -O2):
| file | FLASH (Byte) | RAM (Byte) |
|:-------------:|:--------------:|:------------:|
|usbh_core.c | 7992 | 472 |
|usbh_cdc_acm.c | 1208 | 4 |
|usbh_msc.c | 2239 | 4 |
|usbh_hid.c | 930 | 4 |
|usbh_hub.c | 3878 | 14 |
## Documentation Tutorial
Quickly start, USB basic concepts, API manual, Class basic concepts and examples, see [CherryUSB Documentation Tutorial](https://cherryusb.readthedocs.io/)

View File

@@ -91,6 +91,16 @@ CherryUSB Host 协议栈当前实现以下功能:
同时CherryUSB Host 协议栈还提供了 lsusb 的功能,借助 shell 插件可以查看所有挂载设备的信息,包括外部 hub 上的设备的信息。
CherryUSB Host 协议栈资源占用说明GCC 10.2 with -O2
| file | FLASH (Byte) | RAM (Byte) |
|:-------------:|:--------------:|:------------:|
|usbh_core.c | 7992 | 472 |
|usbh_cdc_acm.c | 1208 | 4 |
|usbh_msc.c | 2239 | 4 |
|usbh_hid.c | 930 | 4 |
|usbh_hub.c | 3878 | 14 |
## 文档教程
CherryUSB 快速入门、USB 基本概念API 手册Class 基本概念和例程,参考 [CherryUSB 文档教程](https://cherryusb.readthedocs.io/)