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
This commit is contained in:
Scott Shawcroft 2022-08-02 14:11:09 -07:00
parent b38109c488
commit 1c69fe1727
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA

View File

@ -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)