Merge branch 'fix/mqtt_esp32h2_examples' into 'master'

protocols/examples: Disable Wifi connection if not supported

See merge request espressif/esp-idf!23970
This commit is contained in:
Rocha Euripedes
2023-06-05 13:51:30 +08:00
37 changed files with 75 additions and 149 deletions

View File

@@ -4,7 +4,7 @@ menu "Example Connection Configuration"
config EXAMPLE_CONNECT_WIFI
bool "connect using WiFi interface"
depends on !IDF_TARGET_LINUX
depends on !IDF_TARGET_LINUX && SOC_WIFI_SUPPORTED
default y
help
Protocol examples can use Wi-Fi and/or Ethernet to connect to the network.
@@ -119,7 +119,7 @@ menu "Example Connection Configuration"
config EXAMPLE_CONNECT_ETHERNET
bool "connect using Ethernet interface"
depends on !IDF_TARGET_LINUX
default n
default y if !SOC_WIFI_SUPPORTED
help
Protocol examples can use Wi-Fi and/or Ethernet to connect to the network.
Choose this option to connect with Ethernet