Files
JoyD/ESP32/my_usb_project/main/tusb_config.h
zqm cdf64fa31f feat(XCamera): 实现异步抓图功能并优化图像处理
fix(nginx): 调整企业微信回调代理路径

feat(gateway): 添加企业微信消息处理功能

docs: 更新项目规划文档和企业微信配置详情

refactor(XCamera): 重构LED检测和图像处理逻辑

test: 添加ONVIF抓图测试功能
2026-03-31 11:04:43 +08:00

34 lines
616 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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
// 配置 MSCU盘
#define CFG_TUD_MSC 1
#define CFG_TUD_MSC_EP_BUFSIZE 64
#ifdef __cplusplus
}
#endif
#endif /* _TUSB_CONFIG_H_ */