ESPIDF USB_HID例程 ESP32S3型号编译结果失败

Xiaowen_Li
Posts: 5
Joined: Tue Dec 05, 2023 2:08 pm

ESPIDF USB_HID例程 ESP32S3型号编译结果失败

Postby Xiaowen_Li » Mon Dec 18, 2023 2:28 pm

开发环境:visual studio
idf版本:5.1.2
例程名称:tusb_hid
报错内容:C:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32s3/mcpwm_periph.c:15:23: error: 'ETS_PWM0_INTR_SOURCE' undeclared here (not in a function)
15 | .irq_id = ETS_PWM0_INTR_SOURCE,
| ^~~~~~~~~~~~~~~~~~~~
C:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32s3/mcpwm_periph.c:84:23: error: 'ETS_PWM1_INTR_SOURCE' undeclared here (not in a function)
84 | .irq_id = ETS_PWM1_INTR_SOURCE,
| ^~~~~~~~~~~~~~~~~~~~

尝试举措:1、尝试编译ESP32S2型号,编译成功;
2、 包含ETS_PWM0_INTR_SOURCE所在头文件绝对路径;
结果:编译显示更多未定义错误。

Who is online

Users browsing this forum: Google [Bot] and 67 guests