forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ESP32]: Removed esp32-m5-with-rpc from the CI. (project-chip#36872)
* [ESP32]: Removed esp32-m5-with-rpc from the CI. * Add esp32 with rpc and ipv6only variation to CI * Add default sdkconfig.
- Loading branch information
1 parent
1c92162
commit 37fa873
Showing
7 changed files
with
101 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# | ||
# Copyright (c) 2024 Project CHIP Authors | ||
# Copyright (c) 2024 Nest Labs, Inc. | ||
# 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. | ||
# | ||
CONFIG_IDF_TARGET="esp32" | ||
CONFIG_IDF_TARGET_ESP32=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_CUSTOM_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 | ||
|
||
# PW RPC Debug channel | ||
CONFIG_EXAMPLE_UART_PORT_NUM=0 | ||
CONFIG_EXAMPLE_UART_BAUD_RATE=115200 | ||
CONFIG_EXAMPLE_UART_RXD=3 | ||
CONFIG_EXAMPLE_UART_TXD=1 | ||
CONFIG_ENABLE_PW_RPC=y | ||
|
||
# Disable shell | ||
CONFIG_ENABLE_CHIP_SHELL=n | ||
|
||
# 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 HKDF in mbedtls | ||
CONFIG_MBEDTLS_HKDF_C=y | ||
|
||
# Build chip tests | ||
CONFIG_BUILD_CHIP_TESTS=y | ||
|
||
# Move functions from IRAM to flash | ||
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y | ||
|
||
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y | ||
|
||
# Memory Optimizations | ||
CONFIG_NIMBLE_MAX_CONNECTIONS=1 | ||
CONFIG_BTDM_CTRL_BLE_MAX_CONN=1 | ||
CONFIG_BT_NIMBLE_ROLE_CENTRAL=n | ||
CONFIG_BT_NIMBLE_ROLE_OBSERVER=n | ||
|
||
# Reduce the event logging buffer to reduce the DRAM overflow | ||
# TODO: [ESP32] Fix the DRAM overflow in esp32 apps #34717 | ||
CONFIG_EVENT_LOGGING_CRIT_BUFFER_SIZE=512 | ||
CONFIG_EVENT_LOGGING_INFO_BUFFER_SIZE=512 | ||
CONFIG_EVENT_LOGGING_DEBUG_BUFFER_SIZE=512 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
scripts/build/testdata/dry_run_esp32-m5stack-all-clusters-minimal-rpc-ipv6only.txt
This file was deleted.
Oops, something went wrong.