Pankaj Garg | abf90d7 | 2020-05-13 23:31:31 -0700 | [diff] [blame] | 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 | # Some useful defaults for the demo app configuration. |
| 20 | # |
| 21 | |
| 22 | |
| 23 | # Default to 921600 baud when flashing and monitoring device |
| 24 | CONFIG_ESPTOOLPY_BAUD_921600B=y |
| 25 | CONFIG_ESPTOOLPY_BAUD=921600 |
| 26 | CONFIG_ESPTOOLPY_COMPRESSED=y |
Vivien Nicolas | d15fa87 | 2020-06-27 16:39:08 +0200 | [diff] [blame] | 27 | CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y |
| 28 | CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 |
Pankaj Garg | abf90d7 | 2020-05-13 23:31:31 -0700 | [diff] [blame] | 29 | CONFIG_MBEDTLS_HARDWARE_AES=n |
| 30 | CONFIG_MBEDTLS_HARDWARE_MPI=n |
| 31 | CONFIG_MBEDTLS_HARDWARE_SHA=n |
| 32 | CONFIG_CHIP_TASK_STACK_SIZE=32768 |
| 33 | CONFIG_ESP_MAIN_TASK_STACK_SIZE=32768 |
Andrei Litvin | 8faf741 | 2021-12-17 09:16:24 -0500 | [diff] [blame] | 34 | CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y |
| 35 | CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=n |
Vivien Nicolas | d15fa87 | 2020-06-27 16:39:08 +0200 | [diff] [blame] | 36 | |
Hrishikesh Dhayagude | e43ecb9 | 2020-09-15 02:56:33 +0530 | [diff] [blame] | 37 | # enable BT |
Zang MingJie | f2d0691 | 2021-11-04 20:55:07 +0800 | [diff] [blame] | 38 | CONFIG_BT_ENABLED=n |
| 39 | |
| 40 | # disable WiFi |
| 41 | CONFIG_ENABLE_WIFI_STATION=n |
| 42 | CONFIG_ENABLE_WIFI_AP=n |
Hrishikesh Dhayagude | e43ecb9 | 2020-09-15 02:56:33 +0530 | [diff] [blame] | 43 | |
| 44 | # Use a custom partition table |
| 45 | CONFIG_PARTITION_TABLE_CUSTOM=y |
| 46 | CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" |
Andrei Litvin | 677a719 | 2021-12-16 22:40:51 -0500 | [diff] [blame] | 47 | |
| 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. |
| 51 | CONFIG_ESP_TASK_WDT=n |
Wang Qixiang | 3515101 | 2023-05-23 21:02:43 +0800 | [diff] [blame] | 52 | |
| 53 | # Enable HKDF in mbedtls |
| 54 | CONFIG_MBEDTLS_HKDF_C=y |
Shubham Patil | 86f70a3 | 2023-06-08 22:59:30 +0530 | [diff] [blame] | 55 | |
| 56 | # Build chip tests |
| 57 | CONFIG_BUILD_CHIP_TESTS=y |