We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25ad46d commit 07c676cCopy full SHA for 07c676c
1 file changed
ports/espressif/supervisor/usb_serial_jtag.c
@@ -42,7 +42,7 @@ STATIC ringbuf_t ringbuf;
42
STATIC uint8_t buf[128];
43
STATIC volatile bool connected;
44
45
-#if CIRCUITPY_ESP_USB_SERIAL_JTAG && !CONFIG_ESP_PHY_ENABLE_USB
+#if CIRCUITPY_ESP_USB_SERIAL_JTAG && defined(SOC_WIFI_PHY_NEEDS_USB_WORKAROUND) && !defined(CONFIG_ESP_PHY_ENABLE_USB)
46
#error "CONFIG_ESP_PHY_ENABLE_USB must be enabled in sdkconfig"
47
#endif
48
0 commit comments