summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-06-23 21:30:32 +0800
committersakumisu <[email protected]>2022-06-23 21:30:47 +0800
commit0dd5f28e3c9d193b1e71b1109e2eedf772d86b9f (patch)
tree57fb3509e6606bea5c006369cf7c5dee98076b8a
parent8753efb9358da6cdf1103d1a4342210af0ee75a3 (diff)
update host memory usage
-rw-r--r--README.md12
-rw-r--r--README_zh.md10
2 files changed, 21 insertions, 1 deletions
diff --git a/README.md b/README.md
index dc8fc26d..e63528cc 100644
--- a/README.md
+++ b/README.md
@@ -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/)
diff --git a/README_zh.md b/README_zh.md
index b5a84238..5837c200 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -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/)