summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2023-02-05 15:28:25 +0800
committersakimisu <[email protected]>2023-02-06 21:08:58 +0800
commit34cda737ed35b2e0079e83039a8aea02d364f937 (patch)
treeec7d9d10281a72514aa965ea74b6d8e83c88222a
parentc5310e1093bfe29517ac36bb5edb42d117a68a48 (diff)
update usage
-rw-r--r--README.md11
-rw-r--r--README_zh.md11
2 files changed, 12 insertions, 10 deletions
diff --git a/README.md b/README.md
index bada7762..648e277d 100644
--- a/README.md
+++ b/README.md
@@ -99,12 +99,13 @@ CherryUSB Host Stack resource usage (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) | 20 | 0 |
-|usbh_cdc_acm.c | 1004 | 7 | 4 | sizeof(struct usbh_cdc_acm) * x |
+|usbh_core.c | 4417 | 512 | 28 | sizeof(struct usbh_urb) |
+|usbh_hub.c | 4895 | sizeof(struct usbh_hub) * (1+n) | 16 | 0 |
+|usbh_cdc_acm.c | 1064 | 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, optional) | sizeof(struct usbh_video) * x |
+|usbh_hid.c | 922 | 128 | 4 | sizeof(struct usbh_hid) * x |
+|usbh_video.c | 3592 | 128 | 4 | sizeof(struct usbh_video) * x |
+|usbh_audio.c | 3230 | 128 | 4 | sizeof(struct usbh_audio) * x |
Among them, `sizeof(struct usbh_hub)` and `sizeof(struct usbh_hubport)` are affected by the following macros:
diff --git a/README_zh.md b/README_zh.md
index 5fc5294a..d79e2c8c 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -98,12 +98,13 @@ 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) | 20 | 0 |
-|usbh_cdc_acm.c | 1004 | 7 | 4 | sizeof(struct usbh_cdc_acm) * x |
+|usbh_core.c | 4417 | 512 | 28 | sizeof(struct usbh_urb) |
+|usbh_hub.c | 4895 | sizeof(struct usbh_hub) * (1+n) | 16 | 0 |
+|usbh_cdc_acm.c | 1064 | 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, optional) | sizeof(struct usbh_video) * x |
+|usbh_hid.c | 922 | 128 | 4 | sizeof(struct usbh_hid) * x |
+|usbh_video.c | 3592 | 128 | 4 | sizeof(struct usbh_video) * x |
+|usbh_audio.c | 3230 | 128 | 4 | sizeof(struct usbh_audio) * x |
其中,`sizeof(struct usbh_hub)` 和 `sizeof(struct usbh_hubport)` 受以下宏影响: