feat(XCamera): 实现异步抓图功能并优化图像处理
fix(nginx): 调整企业微信回调代理路径 feat(gateway): 添加企业微信消息处理功能 docs: 更新项目规划文档和企业微信配置详情 refactor(XCamera): 重构LED检测和图像处理逻辑 test: 添加ONVIF抓图测试功能
This commit is contained in:
33
ESP32/my_usb_project/main/tusb_config.h
Normal file
33
ESP32/my_usb_project/main/tusb_config.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef _TUSB_CONFIG_H_
|
||||
#define _TUSB_CONFIG_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// 配置 USB 设备模式
|
||||
#define CFG_TUD_ENABLED 1
|
||||
|
||||
// 配置 USB 速度
|
||||
#define CFG_TUSB_OS OPT_OS_FREERTOS
|
||||
|
||||
// 配置 USB 缓冲区大小
|
||||
#define CFG_TUD_ENDPOINT0_SIZE 64
|
||||
|
||||
// 配置 HID 键盘
|
||||
#define CFG_TUD_HID 1
|
||||
#define CFG_TUD_HID_EP_BUFSIZE 64
|
||||
|
||||
// 配置 CDC(串口)
|
||||
#define CFG_TUD_CDC 1
|
||||
#define CFG_TUD_CDC_EP_BUFSIZE 64
|
||||
|
||||
// 配置 MSC(U盘)
|
||||
#define CFG_TUD_MSC 1
|
||||
#define CFG_TUD_MSC_EP_BUFSIZE 64
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _TUSB_CONFIG_H_ */
|
||||
Reference in New Issue
Block a user