forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: openthread: Add configuration for ipc_radio
This commit ads missing configs for ipc_radio image for thread. Signed-off-by: Przemyslaw Bida <[email protected]>
- Loading branch information
1 parent
76fcc4b
commit 9d3d321
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
samples/openthread/cli/sysbuild/ipc_radio/boards/nrf54h20dk_nrf54h20_cpurad.conf
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,37 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Disable serial and UART interface. | ||
CONFIG_SERIAL=n | ||
CONFIG_UART_CONSOLE=n | ||
CONFIG_LOG=n | ||
|
||
# RAM usage configuration | ||
CONFIG_HEAP_MEM_POOL_SIZE=8192 | ||
CONFIG_MAIN_STACK_SIZE=2048 | ||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 | ||
|
||
# BT configuration | ||
CONFIG_BT=y | ||
CONFIG_BT_HCI_RAW=y | ||
CONFIG_BT_MAX_CONN=1 | ||
CONFIG_BT_CTLR_ASSERT_HANDLER=y | ||
CONFIG_BT_PERIPHERAL=y | ||
CONFIG_BT_CENTRAL=n | ||
CONFIG_BT_BUF_ACL_RX_SIZE=502 | ||
CONFIG_BT_BUF_ACL_TX_SIZE=251 | ||
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 | ||
CONFIG_BT_CTLR_PHY_2M=n | ||
|
||
# 802.15.4 configuration | ||
CONFIG_NRF_802154_SER_RADIO=y | ||
CONFIG_NRF_802154_ENCRYPTION=y | ||
CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=2 | ||
|
||
# ipc_radio | ||
CONFIG_IPC_RADIO_BT=y | ||
CONFIG_IPC_RADIO_BT_HCI_IPC=y | ||
CONFIG_IPC_RADIO_802154=y |
37 changes: 37 additions & 0 deletions
37
samples/openthread/cli/sysbuild/ipc_radio/boards/nrf54h20dk_nrf54h20_cpurad.overlay
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,37 @@ | ||
/* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&dppic130 { | ||
owned-channels = <0 1 2 3>; | ||
sink-channels = <0 1 2>; | ||
source-channels = <3>; | ||
nonsecure-channels = <0 1 2 3>; | ||
status = "okay"; | ||
}; | ||
|
||
&dppic132 { | ||
owned-channels = <0 1 2 3>; | ||
owned-channel-groups = <0 1>; | ||
source-channels = <0 1 2>; | ||
sink-channels = <3>; | ||
nonsecure-channels = <0 1 2 3>; | ||
status = "okay"; | ||
}; | ||
|
||
&cpurad_ipct { | ||
source-channel-links = <0 13 0>; | ||
sink-channel-links = <0 13 0 | ||
1 13 1 | ||
2 13 2>; | ||
}; | ||
|
||
&ipct130 { | ||
status = "okay"; | ||
owned-channels = <0 1 2>; | ||
source-channel-links = <0 3 0 | ||
1 3 1 | ||
2 3 2>; | ||
sink-channel-links = <0 3 0>; | ||
}; |