From 1c69fe1727bdc5e9bcd23abaf566330cf90bae74 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 2 Aug 2022 14:11:09 -0700 Subject: [PATCH] Fix S2/S3 USB The new Kconfig that fixed C3 added a dependency on USB_OTG_SUPPORTED that is only calculated if we include the usb module in cmake. Fixes #6679 --- ports/espressif/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/espressif/CMakeLists.txt b/ports/espressif/CMakeLists.txt index 4c834397b9..1c79b448fe 100644 --- a/ports/espressif/CMakeLists.txt +++ b/ports/espressif/CMakeLists.txt @@ -6,7 +6,7 @@ set(ENV{IDF_PATH} ${CMAKE_SOURCE_DIR}/esp-idf) # The component list here determines what options we get in menuconfig and what the ninja file # can build. -set(COMPONENTS esptool_py soc driver log main esp-tls mbedtls mdns esp_event esp_adc_cal esp_netif esp_wifi lwip wpa_supplicant freertos bt) +set(COMPONENTS esptool_py soc driver log main esp-tls mbedtls mdns esp_event esp_adc_cal esp_netif esp_wifi lwip wpa_supplicant freertos bt usb) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(circuitpython)