-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
117 lines (92 loc) · 2.84 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
config COPRO_LED
bool "LED Configuration"
default y
help
This option allows you to use the LED.
menuconfig COPRO_USB_NETWORK
bool "USB Network Configuration"
default y
depends on USB_DEVICE_NETWORK_ECM
help
This option allows you to configure the USB network settings.
if COPRO_USB_NETWORK
config COPRO_USB_ECM_IPV4_ADDR
string "IPv4 Address"
default "192.0.3.2"
depends on USB_DEVICE_NETWORK_ECM
help
The IPv4 address to assign to the USB Ethernet Control Model (ECM) interface.
config COPRO_USB_ECM_IPV4_GW
string "IPv4 Gateway"
default "192.0.3.1"
depends on USB_DEVICE_NETWORK_ECM
help
The IPv4 gateway to assign to the USB Ethernet Control Model (ECM) interface.
config COPRO_USB_ECM_IPV4_NETMASK
string "IPv4 Netmask"
default "255.255.255.0"
depends on USB_DEVICE_NETWORK_ECM
help
The IPv4 netmask to assign to the USB Ethernet Control Model (ECM) interface.
endif # COPRO_USB_NETWORK
menuconfig COPRO_XIAOMI_LYWSD03MMC
bool "Xiaomi LYWSD03MMC support"
default y
help
This option allows you to report the measurements from the Xiaomi LYWSD03MMC sensor.
if COPRO_XIAOMI_LYWSD03MMC
config COPRO_XIAOMI_QUEUE_SIZE
int "Queue Size"
default 20
help
The size of the queue to store the measurements from the Xiaomi LYWSD03MMC sensor.
endif # COPRO_XIAOMI_LYWSD03MMC
menuconfig COPRO_STREAM_CLIENT
bool "Coprocessor stream Client"
default y
depends on USB_DEVICE_NETWORK_ECM
help
This option allows you to configure the Stream Client settings.
if COPRO_STREAM_CLIENT
config COPRO_STREAM_PORT
int "Stream Port"
default 4000
help
The port number to use for the Stream Client.
config COPRO_STREAM_HOST
string "Stream Host"
default "192.0.3.1"
help
The host to connect to for the Stream Client.
config COPRO_STREAM_TRY_CONNECT_INTERVAL
int "Stream Try Connect Interval"
default 1000
help
The interval in milliseconds to try to connect to the Stream Client.
config COPRO_STREAM_CHANNELS_COUNT
int "Stream Channels Count"
default 1
help
The number of channels to use for the Streams.
config COPRO_STREAM_CHANNEL_MSG_MAX_SIZE
int "Stream Channel Message Max Size"
default 128
help
The maximum size of the message to send to the Stream Client.
endif # COPRO_STREAM_CLIENT
menuconfig COPRO_CONFIG_SERVER
bool "Coprocessor configuration server"
default n
depends on USB_DEVICE_NETWORK_ECM
help
This option allows you to configure the Configuration Server settings.
if COPRO_CONFIG_SERVER
config COPRO_CONFIG_PORT
int "Configuration Port"
default 4001
help
The port number to use for the Configuration Server.
endif # COPRO_CONFIG_SERVER
menu "Zephyr RTOS Configuration"
source "Kconfig.zephyr"
endmenu