2 # Copyright (c) 2020 Project CHIP Authors
3 # Copyright (c) 2018 Nest Labs, Inc.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
19 # CI uses this to select the ESP32 M5Stack.
22 CONFIG_DEVICE_TYPE_M5STACK=y
24 # Default to 921600 baud when flashing and monitoring device
25 CONFIG_ESPTOOLPY_BAUD_921600B=y
26 CONFIG_ESPTOOLPY_BAUD=921600
27 CONFIG_ESPTOOLPY_COMPRESSED=y
28 CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y
29 CONFIG_ESPTOOLPY_MONITOR_BAUD=115200
33 CONFIG_BT_NIMBLE_ENABLED=y
35 #enable lwip ipv6 autoconfig
36 CONFIG_LWIP_IPV6_AUTOCONFIG=y
38 # Use a custom partition table
39 CONFIG_PARTITION_TABLE_CUSTOM=y
40 CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
43 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
45 # Bluetooth controller
46 CONFIG_BTDM_CTRL_BLE_MAX_CONN=1
47 CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF=1
50 CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
53 CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=4
54 CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=8
55 CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16
58 CONFIG_FREERTOS_UNICORE=y
61 CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=16
64 CONFIG_LWIP_TCP_SYNMAXRTX=6
66 # Compatibility options
67 CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN=1
68 CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=1
69 CONFIG_NIMBLE_MAX_CONNECTIONS=1
70 CONFIG_TCPIP_RECVMBOX_SIZE=16
71 CONFIG_TCP_SYNMAXRTX=6