mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user