blob: cf1e0a5d6a381a47fc648d1370587318ab01e6cb [file] [log] [blame]
Pankaj Gargabf90d72020-05-13 23:31:31 -07001#
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# Some useful defaults for the demo app configuration.
20#
21
22
23# Default to 921600 baud when flashing and monitoring device
24CONFIG_ESPTOOLPY_BAUD_921600B=y
25CONFIG_ESPTOOLPY_BAUD=921600
26CONFIG_ESPTOOLPY_COMPRESSED=y
Vivien Nicolasd15fa872020-06-27 16:39:08 +020027CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y
28CONFIG_ESPTOOLPY_MONITOR_BAUD=115200
Pankaj Gargabf90d72020-05-13 23:31:31 -070029CONFIG_MBEDTLS_HARDWARE_AES=n
30CONFIG_MBEDTLS_HARDWARE_MPI=n
31CONFIG_MBEDTLS_HARDWARE_SHA=n
32CONFIG_CHIP_TASK_STACK_SIZE=32768
33CONFIG_ESP_MAIN_TASK_STACK_SIZE=32768
Andrei Litvin8faf7412021-12-17 09:16:24 -050034CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y
35CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=n
Vivien Nicolasd15fa872020-06-27 16:39:08 +020036
Hrishikesh Dhayagudee43ecb92020-09-15 02:56:33 +053037# enable BT
Zang MingJief2d06912021-11-04 20:55:07 +080038CONFIG_BT_ENABLED=n
39
40# disable WiFi
41CONFIG_ENABLE_WIFI_STATION=n
42CONFIG_ENABLE_WIFI_AP=n
Hrishikesh Dhayagudee43ecb92020-09-15 02:56:33 +053043
44# Use a custom partition table
45CONFIG_PARTITION_TABLE_CUSTOM=y
46CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
Andrei Litvin677a7192021-12-16 22:40:51 -050047
48# No watchdog - we run on the host and tests have timeouts
49# Crypto tests generally take long enough for the watchdog to trigger
50# otherwise.
51CONFIG_ESP_TASK_WDT=n
Wang Qixiang35151012023-05-23 21:02:43 +080052
53# Enable HKDF in mbedtls
54CONFIG_MBEDTLS_HKDF_C=y
Shubham Patil86f70a32023-06-08 22:59:30 +053055
56# Build chip tests
57CONFIG_BUILD_CHIP_TESTS=y