| # |
| # Copyright (c) 2022 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: |
| # CI uses this to select the ESP32 M5Stack. |
| # |
| CONFIG_IDF_TARGET="esp32" |
| CONFIG_IDF_TARGET_ESP32=y |
| CONFIG_DEVICE_TYPE_M5STACK=y |
| |
| # Default to 921600 baud when flashing and monitoring device |
| CONFIG_ESPTOOLPY_BAUD_921600B=y |
| CONFIG_ESPTOOLPY_BAUD=921600 |
| CONFIG_ESPTOOLPY_COMPRESSED=y |
| CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y |
| CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 |
| |
| # Enable BT |
| CONFIG_BT_ENABLED=y |
| CONFIG_BT_NIMBLE_ENABLED=y |
| |
| # Enable lwip ipv6 autoconfig |
| CONFIG_LWIP_IPV6_AUTOCONFIG=y |
| |
| # Use a custom partition table |
| CONFIG_PARTITION_TABLE_CUSTOM=y |
| CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" |
| |
| # Vendor and product id |
| CONFIG_DEVICE_VENDOR_ID=0xFFF1 |
| CONFIG_DEVICE_PRODUCT_ID=0x8001 |
| |
| # Main task needs a bit more stack than the default |
| # default is 3584, bump this up to 5k. |
| CONFIG_ESP_MAIN_TASK_STACK_SIZE=5120 |
| |
| # Enable debug shell |
| CONFIG_ENABLE_CHIP_SHELL=y |
| |
| # Serial Flasher config |
| CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y |
| CONFIG_ESPTOOLPY_FLASHSIZE="4MB" |
| |
| # Disable Bluetooth modem sleep |
| # Enable it may cause GPIO ISR triggers continuously |
| CONFIG_BTDM_CTRL_MODEM_SLEEP=n |
| CONFIG_BTDM_CTRL_MODEM_SLEEP_MODE_ORIG=n |
| CONFIG_BTDM_CTRL_LPCLK_SEL_MAIN_XTAL=n |
| |
| # Enable OTA Requestor |
| CONFIG_ENABLE_OTA_REQUESTOR=y |
| CONFIG_DEVICE_SOFTWARE_VERSION_NUMBER=2 |