mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(examples): Add ESP32-S31 support to network/sta2eth example
This commit is contained in:
@@ -72,7 +72,7 @@ menu "Example Configuration"
|
||||
prompt "Ethernet"
|
||||
config EXAMPLE_WIRED_INTERFACE_IS_USB
|
||||
bool
|
||||
depends on IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
||||
depends on SOC_USB_OTG_SUPPORTED
|
||||
prompt "USB NCM"
|
||||
endchoice
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
-
|
||||
re: "error: implicit declaration of function 'tinyusb_net_init';"
|
||||
hint: "NCM class must be enabled in TinyUSB configuration.\nIn idf.py menuconfig, go to (Top) > Component config > TinyUSB Stack > Network driver (ECM/NCM/RNDIS) > Network mode and select 'NCM'."
|
||||
@@ -3,11 +3,12 @@ dependencies:
|
||||
espressif/esp_tinyusb:
|
||||
version: "^2.0.0"
|
||||
rules:
|
||||
- if: "idf_version >=4.4"
|
||||
- if: "target in [esp32s2, esp32s3]"
|
||||
- if: "$CONFIG{EXAMPLE_WIRED_INTERFACE_IS_ETHERNET} == False"
|
||||
dns_server:
|
||||
path: ${IDF_PATH}/examples/protocols/http_server/captive_portal/components/dns_server
|
||||
espressif/ethernet_init:
|
||||
version: "^1.3.0"
|
||||
rules:
|
||||
- if: "$CONFIG{EXAMPLE_WIRED_INTERFACE_IS_ETHERNET} == True"
|
||||
espressif/network_provisioning:
|
||||
version: "^1.0.5"
|
||||
|
||||
Reference in New Issue
Block a user