We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed7b4f commit 8f4733aCopy full SHA for 8f4733a
cores/esp32/esp32-hal-tinyusb.c
@@ -42,8 +42,12 @@
42
#include "esp32s2/rom/usb/usb_dc.h"
43
#include "esp32s2/rom/usb/chip_usb_dw_wrapper.h"
44
#elif CONFIG_IDF_TARGET_ESP32S3
45
-#include "hal/usb_serial_jtag_ll.h"
+#if defined __has_include && __has_include ("hal/usb_phy_ll.h")
46
#include "hal/usb_phy_ll.h"
47
+#else
48
+#include "hal/usb_fsls_phy_ll.h"
49
+#endif
50
+#include "hal/usb_serial_jtag_ll.h"
51
#include "esp32s3/rom/usb/usb_persist.h"
52
#include "esp32s3/rom/usb/usb_dc.h"
53
#include "esp32s3/rom/usb/chip_usb_dw_wrapper.h"
0 commit comments