From e0d7d395d7ec1297152dea8fb0cdadc92beed37f Mon Sep 17 00:00:00 2001 From: mikee47 Date: Sun, 1 Dec 2024 11:40:18 +0000 Subject: [PATCH] Include `usb` component from IDF --- Sming/Arch/Esp32/Components/esp32/component.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Sming/Arch/Esp32/Components/esp32/component.mk b/Sming/Arch/Esp32/Components/esp32/component.mk index eaf4804398..66ed206cba 100644 --- a/Sming/Arch/Esp32/Components/esp32/component.mk +++ b/Sming/Arch/Esp32/Components/esp32/component.mk @@ -117,7 +117,8 @@ SDK_INCDIRS := \ esp_netif/include \ esp_eth/include \ esp_wifi/include \ - lwip/include/apps/sntp + lwip/include/apps/sntp \ + usb/include ifdef IDF_VERSION_4x SDK_INCDIRS += \ @@ -262,6 +263,10 @@ SDK_COMPONENTS := \ soc \ spi_flash +ifneq (,$(filter esp32s2 esp32s3,$(SMING_SOC))) +SDK_COMPONENTS += usb +endif + ifdef IDF_VERSION_43 SDK_COMPONENTS += $(ESP_VARIANT) else