-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathKconfig
More file actions
35 lines (27 loc) · 826 Bytes
/
Copy pathKconfig
File metadata and controls
35 lines (27 loc) · 826 Bytes
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
35
menuconfig ESP_HOSTED
bool "ESP-Hosted"
default n if ESP_HOST_WIFI_ENABLED
default n if ESP_WIFI_REMOTE_ENABLED && !ESP_WIFI_REMOTE_LIBRARY_HOSTED
default y if ESP_WIFI_REMOTE_ENABLED && ESP_WIFI_REMOTE_LIBRARY_HOSTED
default y
if ESP_HOSTED
choice ESP_HOSTED_ROLE
prompt "Use this device as (Coprocessor/Host)"
default ESP_HOSTED_HOST
help
Select whether this build is for the host or the coprocessor.
Hosted IDF apps almost always want the Host role; CP firmware
projects set CONFIG_ESP_HOSTED_CP=y in their sdkconfig.defaults.
config ESP_HOSTED_HOST
bool "Host"
config ESP_HOSTED_CP
bool "Coprocessor (CP)"
endchoice
orsource "common/eh_common/Kconfig.ext"
if ESP_HOSTED_CP
orsource "coprocessor/Kconfig.ext"
endif
if ESP_HOSTED_HOST
orsource "host/Kconfig.ext"
endif
endif