完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
当我选择芯片esp32-s3然后编译例程:esp-idfexamplesget-startedtusb_sample_descriptor
编译不通过。有如下错误: esp-idfcomponentstinyusbtinyusbexamplesdeviceaudio_4_channel_micsrctusb_config.h:39:2: error: #error CFG_TUSB_MCU must be defined esp-idf/components/tinyusb/additions/include/tusb_config.h:56: warning: "CFG_TUSB_RHPORT0_MODE" redefined #define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE | OPT_MODE_FULL_SPEED esp-idfcomponentstinyusbtinyusbexamplesdeviceaudio_4_channel_micsrctusb_config.h:45: note: this is the location of the previous definition #define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE esp-idf/components/tinyusb/additions/include/tusb_config.h:57: warning: "CFG_TUSB_OS" redefined #define CFG_TUSB_OS OPT_OS_FREERTOS esp-idf/components/tinyusb/additions/include/tusb_config.h:89: warning: "CFG_TUD_CDC" redefined #define CFG_TUD_CDC CONFIG_TINYUSB_CDC_ENABLED esp-idfcomponentstinyusbtinyusbexamplesdeviceaudio_4_channel_micsrctusb_config.h:83: note: this is the location of the previous definition #define CFG_TUD_CDC 0 esp-idfcomponentstinyusbtinyusbexamplesdeviceaudio_4_channel_micsrctusb_config.h:84: note: this is the location of the previous definition #define CFG_TUD_MSC 0 esp-idf/components/tinyusb/additions/include/tusb_config.h:91: warning: "CFG_TUD_HID" redefined #define CFG_TUD_HID CONFIG_TINYUSB_HID_ENABLED esp-idf/components/tinyusb/additions/include/tusb_config.h:92: warning: "CFG_TUD_MIDI" redefined #define CFG_TUD_MIDI CONFIG_TINYUSB_MIDI_ENABLED 不知道该如何解决呢?求助! |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
544浏览 6评论
455浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
435浏览 5评论
439浏览 4评论
410浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-20 07:38 , Processed in 0.623710 second(s), Total 73, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号