mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
9ee5f3e8ce
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>
23 lines
632 B
Plaintext
23 lines
632 B
Plaintext
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
|