mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-03 20:35:33 +02:00
refactor(usb_host): Remove usb component form esp-idf
- usb component was relocated from esp-idf to esp-usb
- the component is now a managed component
This commit is contained in:
@@ -36,7 +36,6 @@ examples/network/sta2eth:
|
||||
- esp_eth
|
||||
- esp_wifi
|
||||
- protocomm
|
||||
- usb
|
||||
- esp_tinyusb
|
||||
- http-server
|
||||
|
||||
|
||||
@@ -555,7 +555,6 @@ examples/peripherals/usb/device:
|
||||
temporary: true
|
||||
reason: lack of runners with usb_device tag
|
||||
depends_components:
|
||||
- usb
|
||||
- fatfs
|
||||
depends_filepatterns:
|
||||
- examples/peripherals/usb/device/**/*
|
||||
@@ -568,7 +567,6 @@ examples/peripherals/usb/device/tusb_ncm:
|
||||
temporary: true
|
||||
reason: lack of runners with usb_device tag
|
||||
depends_components:
|
||||
- usb
|
||||
- esp_wifi
|
||||
depends_filepatterns:
|
||||
- examples/peripherals/usb/device/tusb_ncm/**/*
|
||||
@@ -581,7 +579,6 @@ examples/peripherals/usb/host:
|
||||
temporary: true
|
||||
reason: lack of runners with usb_host_flash_disk tag
|
||||
depends_components:
|
||||
- usb
|
||||
- fatfs
|
||||
depends_filepatterns:
|
||||
- components/hal/usb*.c
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
idf_component_register(SRCS "usb_cdc_example_main.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES usb
|
||||
)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
idf_component_register(
|
||||
SRCS "cdc_acm_vcp_example_main.cpp"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES usb
|
||||
)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
idf_component_register(SRCS "hid_host_example.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES usb esp_driver_gpio
|
||||
PRIV_REQUIRES esp_driver_gpio
|
||||
)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
idf_component_register(SRCS "msc_example_main.c"
|
||||
INCLUDE_DIRS ""
|
||||
PRIV_REQUIRES usb fatfs esp_driver_gpio esp_timer
|
||||
PRIV_REQUIRES fatfs esp_driver_gpio esp_timer
|
||||
)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
idf_component_register(SRCS "usb_host_lib_main.c" "class_driver.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES usb esp_driver_gpio
|
||||
PRIV_REQUIRES esp_driver_gpio
|
||||
)
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
## IDF Component Manager Manifest File
|
||||
dependencies:
|
||||
espressif/usb:
|
||||
version: "^1.0.0"
|
||||
@@ -1,5 +1,4 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
PRIV_REQUIRES
|
||||
usb
|
||||
esp_psram # Required for CONFIG_SPIRAM
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user