Config options have been set such that BLE transport will be the default for ESP32 and SoftAP will be the default for ESP-S2. CMakeLists.txt for all provisioning examples applicable for ESP32-S2 have also been updated as these now work fine on ESP32-S2 Signed-off-by: Piyush Shah <piyush@espressif.com>
22 lines
632 B
Text
22 lines
632 B
Text
menu "Example Configuration"
|
|
|
|
choice EXAMPLE_PROV_TRANSPORT
|
|
bool "Provisioning Transport"
|
|
default EXAMPLE_PROV_TRANSPORT_BLE
|
|
help
|
|
Wi-Fi provisioning component offers both, SoftAP and BLE transports. Choose any one.
|
|
|
|
config EXAMPLE_PROV_TRANSPORT_BLE
|
|
bool "BLE"
|
|
select BT_ENABLED
|
|
depends on IDF_TARGET_ESP32
|
|
config EXAMPLE_PROV_TRANSPORT_SOFTAP
|
|
bool "Soft AP"
|
|
endchoice
|
|
|
|
config EXAMPLE_PROV_TRANSPORT
|
|
int
|
|
default 1 if EXAMPLE_PROV_TRANSPORT_BLE
|
|
default 2 if EXAMPLE_PROV_TRANSPORT_SOFTAP
|
|
|
|
endmenu
|