| # |
| # Copyright (c) 2020 Project CHIP Authors |
| # All rights reserved. |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| # Description: |
| # Configuration options CHIP ESP32 demo application. |
| # |
| |
| menu "WiFi Echo Demo" |
| |
| choice |
| prompt "Device Type" |
| default DEVICE_TYPE_ESP32_DEVKITC |
| help |
| Specifies the type of ESP32 device. |
| |
| Note that the "ESP32-DevKitC" choice is compatible with a number of clone devices |
| available from third-party manufacturers. |
| |
| config DEVICE_TYPE_ESP32_DEVKITC |
| bool "ESP32-DevKitC" |
| config DEVICE_TYPE_M5STACK |
| bool "M5Stack" |
| endchoice |
| |
| choice |
| prompt "Rendezvous Mode" |
| default RENDEZVOUS_MODE_WIFI |
| help |
| Specifies the Rendezvous mode of the peripheral. |
| |
| config RENDEZVOUS_MODE_WIFI |
| bool "Wi-Fi" |
| config RENDEZVOUS_MODE_BLE |
| bool "BLE" |
| config RENDEZVOUS_MODE_THREAD |
| bool "Thread" |
| config RENDEZVOUS_MODE_ETHERNET |
| bool "Ethernet" |
| endchoice |
| |
| config USE_ECHO_CLIENT |
| bool "Enable the built-in Echo Client" |
| default "n" |
| help |
| This enables a local FreeRTOS Echo Client so that the end-to-end echo server can be |
| tested easily |
| |
| config ECHO_HOST_IP |
| string "IPV4 address" |
| default "127.0.0.1" |
| depends on USE_ECHO_CLIENT |
| help |
| The IPV4 Address of the ECHO Server. |
| |
| # NOTE: This config is not displayed as a input in the Kconfig menu, as its value is |
| # entirely derived from the Device Type choice. However the CONFIG_EXAMPLE_DISPLAY_TYPE |
| # define that is produced is needed to configure the TFT library correctly. |
| config TFT_PREDEFINED_DISPLAY_TYPE |
| int |
| range 0 5 |
| default 3 if DEVICE_TYPE_M5STACK |
| default 0 if DEVICE_TYPE_ESP32_DEVKITC |
| |
| config RENDEZVOUS_MODE |
| int |
| range 0 8 |
| default 1 if RENDEZVOUS_MODE_WIFI |
| default 2 if RENDEZVOUS_MODE_BLE |
| default 4 if RENDEZVOUS_MODE_THREAD |
| default 8 if RENDEZVOUS_MODE_ETHERNET |
| |
| config DISPLAY_AUTO_OFF |
| bool "Automatically turn off the M5Stack's Display after a few seconds" |
| default "y" |
| depends on DEVICE_TYPE_M5STACK |
| help |
| To reduce wear and heat the M5Stack's Display is automatically switched off after a few seconds |
| |
| |
| endmenu |