-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RPC: Add RPC target for esp32 lighting app (#22070)
Add an RPC target for the DevC Esp32 Lighting app.
- Loading branch information
rgoliver
authored
Aug 25, 2022
1 parent
5c2334a
commit a152206
Showing
10 changed files
with
296 additions
and
3 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
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,52 @@ | ||
# | ||
# Copyright (c) 2020 Project CHIP Authors | ||
# Copyright (c) 2018 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 ESP32C3-DevKitM. | ||
# | ||
# 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" | ||
|
||
#enable lwIP route hooks | ||
CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT=y | ||
CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT=y | ||
|
||
# Serial Flasher config | ||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE="4MB" | ||
|
||
# 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 |
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
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