| # |
| # Copyright (c) 2021 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. |
| # |
| |
| # Make sure the pairing window starts automatically upon startup as the nRF52840 Dongle |
| # has only one button and it is reserved for the factory reset |
| CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y |
| |
| # Configure shell and logging over USB |
| CONFIG_USB_DEVICE_STACK=y |
| CONFIG_UART_INTERRUPT_DRIVEN=y |
| CONFIG_UART_LINE_CTRL=y |
| CONFIG_SHELL_BACKEND_SERIAL_INIT_PRIORITY=51 |
| |
| # The minimal logging mode does not work properly with the USB CDC device, so use the deferred mode |
| CONFIG_LOG_MODE_MINIMAL=n |
| CONFIG_LOG_MODE_DEFERRED=y |
| CONFIG_LOG_STRDUP_MAX_STRING=128 |
| CONFIG_LOG_STRDUP_BUF_COUNT=24 |
| |
| CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 |