feat(examples): Add ESP32-S31 support to network/sta2eth example

This commit is contained in:
Tomas Rezucha
2026-09-04 12:58:24 +02:00
parent ba2b9256e2
commit 3304a60e9f
4 changed files with 14 additions and 6 deletions
@@ -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
+3
View File
@@ -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"