Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / examples / temperature-measurement-app / esp32 / sdkconfig_devkit.defaults
1 #
2 #    Copyright (c) 2020 Project CHIP Authors
3 #    Copyright (c) 2018 Nest Labs, Inc.
4 #    All rights reserved.
5 #
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
9 #
10 #        http://www.apache.org/licenses/LICENSE-2.0
11 #
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.
17 #
18 #    Description:
19 #      CI uses this to select the ESP32-DevKitC.
20 #
21
22 CONFIG_DEVICE_TYPE_ESP32_DEVKITC=y
23
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
30
31 #enable BT
32 CONFIG_BT_ENABLED=y
33 CONFIG_BT_NIMBLE_ENABLED=y
34
35 #enable lwip ipv6 autoconfig
36 CONFIG_LWIP_IPV6_AUTOCONFIG=y
37
38 # Use a custom partition table
39 CONFIG_PARTITION_TABLE_CUSTOM=y
40 CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
41
42 # Compiler options
43 CONFIG_COMPILER_OPTIMIZATION_SIZE=y
44
45 # Bluetooth controller
46 CONFIG_BTDM_CTRL_BLE_MAX_CONN=1
47 CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF=1
48
49 # NimBLE Options 
50 CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
51
52 # Wi-Fi
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
56
57 # FreeRTOS
58 CONFIG_FREERTOS_UNICORE=y
59
60 # LWIP
61 CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=16
62
63 # TCP
64 CONFIG_LWIP_TCP_SYNMAXRTX=6
65
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