Skip to content

Commit

Permalink
Include usb component from IDF
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Dec 12, 2024
1 parent c1d5b9d commit e0d7d39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sming/Arch/Esp32/Components/esp32/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 += \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e0d7d39

Please sign in to comment.