2 # Copyright (c) 2020 Project CHIP Authors
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 # Configuration options CHIP ESP32 demo application.
25 default DEVICE_TYPE_ESP32_DEVKITC
27 Specifies the type of ESP32 device.
29 Note that the "ESP32-DevKitC" choice is compatible with a number of clone devices
30 available from third-party manufacturers.
32 config DEVICE_TYPE_ESP32_DEVKITC
34 config DEVICE_TYPE_ESP32_WROVER_KIT
35 bool "ESP32-WROVER-KIT_V4.1"
36 config DEVICE_TYPE_M5STACK
41 prompt "Rendezvous Mode"
42 default RENDEZVOUS_MODE_BLE
44 Specifies the Rendezvous mode of the peripheral.
46 config RENDEZVOUS_MODE_BYPASS
48 config RENDEZVOUS_MODE_WIFI
50 config RENDEZVOUS_MODE_BLE
52 config RENDEZVOUS_MODE_THREAD
54 config RENDEZVOUS_MODE_ETHERNET
61 depends on USE_ECHO_CLIENT
63 The IPV4 Address of the ECHO Server.
65 # NOTE: This config is not displayed as a input in the Kconfig menu, as its value is
66 # entirely derived from the Device Type choice. However the CONFIG_EXAMPLE_DISPLAY_TYPE
67 # define that is produced is needed to configure the TFT library correctly.
68 config TFT_PREDEFINED_DISPLAY_TYPE
71 default 0 if DEVICE_TYPE_ESP32_DEVKITC
72 default 3 if DEVICE_TYPE_M5STACK
73 default 4 if DEVICE_TYPE_ESP32_WROVER_KIT
75 config RENDEZVOUS_MODE
78 default 0 if RENDEZVOUS_MODE_BYPASS
79 default 1 if RENDEZVOUS_MODE_WIFI
80 default 2 if RENDEZVOUS_MODE_BLE
81 default 4 if RENDEZVOUS_MODE_THREAD
82 default 8 if RENDEZVOUS_MODE_ETHERNET
84 config DISPLAY_AUTO_OFF
85 bool "Automatically turn off the M5Stack's Display after a few seconds"
87 depends on DEVICE_TYPE_M5STACK
89 To reduce wear and heat the M5Stack's Display is automatically switched off after a few seconds