From a56188004af91606dc29f2366b93aa236d54c54d Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Sat, 1 Oct 2022 16:09:49 +0800 Subject: [PATCH] add video host memory usage --- README.md | 4 ++-- README_zh.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 95bd035c..489c1f61 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,6 @@ CherryUSB Device Stack has the following functions: - Support USB AUDIO CLASS (UAC1.0、UAC2.0) - Support Device Firmware Upgrade CLASS (DFU) - Support USB MIDI CLASS (MIDI) -- Support Test and Measurement CLASS (TMC) - Support Remote NDIS (RNDIS) - Support WINUSB1.0、WINUSB2.0(with BOS) - Support Vendor class @@ -104,6 +103,7 @@ CherryUSB Host Stack resource usage (GCC 10.2 with -O2): |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 | Among them, `sizeof(struct usbh_hub)` and `sizeof(struct usbh_hubport)` are affected by the following macros: @@ -145,7 +145,7 @@ Note: After version 0.4.1, the dcd drivers have been refactored and some reposit |WCH | CH57x | ch58x |[ch57x_repo](https://github.com/CherryUSB/cherryusb_ch57x)|v0.4.1 | |Nuvoton | Nuc442 | nuvoton |[nuc442_repo](https://github.com/CherryUSB/cherryusb_nuc442)|v0.4.1 | |Geehy | APM32E10x APM32F0xx| fsdev |[apm32_repo](https://github.com/CherryUSB/cherryusb_apm32)|v0.4.1 | -|Nordicsemi | Nrf52840 | nrf5x |[nrf5x_repo](https://github.com/CherryUSB/cherryusb_nrf5x)|v0.4.1 | +|Nordicsemi | Nrf52840 | nrf5x |[nrf5x_repo](https://github.com/CherryUSB/cherryusb_nrf5x)|latest | |Espressif | esp32 | dwc2 |[esp32_repo](https://github.com/CherryUSB/cherryusb_esp32)|v0.4.1 | |Mindmotion | MM32L3xx | mm32 |[mm32_repo](https://github.com/CherryUSB/cherryusb_mm32)|v0.4.1 | diff --git a/README_zh.md b/README_zh.md index 34b86090..012a0130 100644 --- a/README_zh.md +++ b/README_zh.md @@ -59,7 +59,6 @@ CherryUSB Device 协议栈当前实现以下功能: - 支持 USB AUDIO CLASS (UAC1.0、UAC2.0) - 支持 Device Firmware Upgrade CLASS (DFU) - 支持 USB MIDI CLASS (MIDI) -- 支持 Test and Measurement CLASS (TMC) - 支持 Remote NDIS (RNDIS) - 支持 WINUSB1.0、WINUSB2.0(带 BOS ) - 支持 Vendor 类 class @@ -103,6 +102,7 @@ CherryUSB Host 协议栈资源占用说明(GCC 10.2 with -O2): |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 | 其中,`sizeof(struct usbh_hub)` 和 `sizeof(struct usbh_hubport)` 受以下宏影响: @@ -144,7 +144,7 @@ USB 基本知识点与 CherryUSB Device 协议栈是如何编写的,参考 [Ch |WCH | CH57x | ch58x |[ch57x_repo](https://github.com/CherryUSB/cherryusb_ch57x)|v0.4.1 | |Nuvoton | Nuc442 | nuvoton |[nuc442_repo](https://github.com/CherryUSB/cherryusb_nuc442)|v0.4.1 | |Geehy | APM32E10x APM32F0xx| fsdev |[apm32_repo](https://github.com/CherryUSB/cherryusb_apm32)|v0.4.1 | -|Nordicsemi | Nrf52840 | nrf5x |[nrf5x_repo](https://github.com/CherryUSB/cherryusb_nrf5x)|v0.4.1 | +|Nordicsemi | Nrf52840 | nrf5x |[nrf5x_repo](https://github.com/CherryUSB/cherryusb_nrf5x)|latest | |Espressif | esp32 | dwc2 |[esp32_repo](https://github.com/CherryUSB/cherryusb_esp32)|v0.4.1 | |Mindmotion | MM32L3xx | mm32 |[mm32_repo](https://github.com/CherryUSB/cherryusb_mm32)|v0.4.1 |