Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

board_esp32s3_usb_otg_ev.c:18:10: fatal error: esp_adc_cal.h: No such file or directory #189

Closed
github150620 opened this issue May 27, 2022 · 1 comment

Comments

@github150620
Copy link

github150620 commented May 27, 2022

Branch: usb/add_usb_solutions
Example: ~/esp/esp-iot-solution/examples/usb/device/usb_msc_wireless_disk
Target: esp32s3

idf.py set-target esp32s3
idf.py menuconfig
idf.py build
...
~/esp/esp-iot-solution/example/common_components/boards/esp32s3_usb_otg_ev/board_esp32s3_usb_otg_ev.c:18:10 fatal error: esp_adc_cal.h: No such file or directory
 #include "esp_adc_cal.h"
           ^~~~~~~~~~
...

When I use target 'esp32s2', it works well. It seems the example 'usb_msc_wireless_disk' is designed for ESP32S3, but it only works well on ESP32S2.

@leeebo
Copy link
Collaborator

leeebo commented May 27, 2022

@github150620 Bug from the esp32s3-usb-otg code in boards component, you can configure Menuconfig -> Board Options -> Choose -> ESP32S2 Saola to work around, will fix it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants