-
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.
Chef - Add RPC support for NRF (#17774)
Change-Id: I8e4e35e2aae656d8d2f228d63855c8eb75c1d791
- Loading branch information
Showing
5 changed files
with
230 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# | ||
# Copyright (c) 2020 Project CHIP Authors | ||
# | ||
# 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. | ||
# | ||
|
||
# This file should be used as a configuration overlay to build Pigweed RPCs to | ||
# lighting-app: | ||
# | ||
# west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=rpc.overlay | ||
|
||
# Enable Pigweed RPC | ||
CONFIG_CHIP_PW_RPC=y | ||
|
||
# Add support for C++17 to build Pigweed components | ||
CONFIG_STD_CPP14=n | ||
CONFIG_STD_CPP17=y | ||
|
||
# Add support for Zephyr console component to use it for Pigweed console purposes | ||
CONFIG_CONSOLE_SUBSYS=y | ||
CONFIG_CONSOLE_GETCHAR=y | ||
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=256 | ||
|
||
# Disable features which may interfere with Pigweed HDLC transport | ||
CONFIG_CHIP_LIB_SHELL=n | ||
CONFIG_SHELL=n | ||
CONFIG_OPENTHREAD_SHELL=n | ||
CONFIG_BOOT_BANNER=n | ||
|
||
# Configure Zephyr logger with defaults backends disabled as the app provides its own, | ||
# based on Pigweed HDLC. | ||
CONFIG_LOG=y | ||
CONFIG_LOG_MODE_MINIMAL=n | ||
CONFIG_LOG_MODE_IMMEDIATE=y | ||
CONFIG_LOG_BACKEND_UART=n | ||
CONFIG_LOG_BACKEND_RTT=n | ||
|
||
# Increase zephyr tty rx buffer | ||
CONFIG_CONSOLE_GETCHAR_BUFSIZE=128 |
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