|
| 1 | +# |
| 2 | +# Copyright (c) 2024 Project CHIP Authors |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | +# |
| 16 | + |
| 17 | +# Disable serial and UART interface. |
| 18 | +CONFIG_SERIAL=n |
| 19 | +CONFIG_UART_CONSOLE=n |
| 20 | +CONFIG_LOG=n |
| 21 | + |
| 22 | +# RAM usage configuration |
| 23 | +CONFIG_HEAP_MEM_POOL_SIZE=8192 |
| 24 | +CONFIG_MAIN_STACK_SIZE=2048 |
| 25 | +CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 |
| 26 | + |
| 27 | +# BT configuration |
| 28 | +CONFIG_BT=y |
| 29 | +CONFIG_BT_HCI_RAW=y |
| 30 | +CONFIG_BT_MAX_CONN=1 |
| 31 | +CONFIG_BT_CTLR_ASSERT_HANDLER=y |
| 32 | +CONFIG_BT_PERIPHERAL=y |
| 33 | +CONFIG_BT_CENTRAL=n |
| 34 | +CONFIG_BT_BUF_ACL_RX_SIZE=502 |
| 35 | +CONFIG_BT_BUF_ACL_TX_SIZE=251 |
| 36 | +CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 |
| 37 | +CONFIG_BT_CTLR_PHY_2M=n |
| 38 | + |
| 39 | +# 802.15.4 configuration |
| 40 | +CONFIG_NRF_802154_SER_RADIO=y |
| 41 | +CONFIG_NRF_802154_ENCRYPTION=y |
| 42 | +CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=2 |
| 43 | + |
| 44 | +# Debug and assert configuration |
| 45 | +CONFIG_ASSERT=y |
| 46 | +CONFIG_DEBUG_INFO=y |
| 47 | +CONFIG_EXCEPTION_STACK_TRACE=y |
| 48 | +CONFIG_RESET_ON_FATAL_ERROR=n |
| 49 | +CONFIG_REBOOT=n |
| 50 | + |
| 51 | +# IPC |
| 52 | +CONFIG_MBOX=y |
| 53 | +CONFIG_IPC_SERVICE=y |
| 54 | + |
| 55 | +# ipc_radio |
| 56 | +CONFIG_IPC_RADIO_BT=y |
| 57 | +CONFIG_IPC_RADIO_BT_HCI_IPC=y |
| 58 | +CONFIG_IPC_RADIO_802154=y |
0 commit comments