-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKconfig
34 lines (29 loc) · 1.11 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
menu "Wi-Fi Remote"
config ESP_WIFI_REMOTE_ENABLED
bool
default y if !ESP_HOST_WIFI_ENABLED
default n if ESP_HOST_WIFI_ENABLED
if ESP_WIFI_REMOTE_ENABLED
orsource "./idf_v$ESP_IDF_VERSION/Kconfig.slave_select.in"
orsource "./idf_v$ESP_IDF_VERSION/Kconfig.soc_wifi_caps.in"
orsource "./Kconfig.rpc.in"
menu "Wi-Fi configuration"
orsource "./idf_v$ESP_IDF_VERSION/Kconfig.wifi.in"
endmenu
endif
if !ESP_WIFI_REMOTE_ENABLED
# This helper variables is only used to indicate that Wi-Fi remote if OFF
# and explains why
config ESP_WIFI_REMOTE_IS_DISABLED
bool "Wi-Fi Remote is disabled (Host Wi-Fi is ON)"
default y
help
Wi-Fi Remote is disabled because ESP_HOST_WIFI_ENABLED is ON.
These options are mutually exclusive.
Disable ESP_HOST_WIFI_ENABLED to use ESP_WIFI_REMOTE.
config ESP_WIFI_REMOTE_FORCE_DISABLED
bool
default y
select ESP_WIFI_REMOTE_IS_DISABLED
endif
endmenu # Wi-Fi Remote