forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysbuild: Add support for OpenThread
Added support for OT to sysbuild Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
- Loading branch information
1 parent
9ec27c6
commit 02f1b53
Showing
17 changed files
with
145 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
SB_CONFIG_OPENTHREAD=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
SB_CONFIG_OPENTHREAD=y |
13 changes: 13 additions & 0 deletions
13
samples/openthread/coap_client/sysbuild/802154_rpmsg/prj.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,13 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
## Disable serial and UART interface. | ||
CONFIG_SERIAL=n | ||
CONFIG_UART_CONSOLE=n | ||
|
||
CONFIG_LOG=n | ||
|
||
CONFIG_NRF_802154_SER_RADIO=y |
33 changes: 33 additions & 0 deletions
33
samples/openthread/coap_client/sysbuild/multiprotocol_rpmsg/prj.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,33 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
## Disable serial and UART interface. | ||
CONFIG_SERIAL=n | ||
CONFIG_UART_CONSOLE=n | ||
|
||
CONFIG_LOG=n | ||
|
||
CONFIG_HEAP_MEM_POOL_SIZE=8192 | ||
|
||
CONFIG_MAIN_STACK_SIZE=2048 | ||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 | ||
CONFIG_BT=y | ||
CONFIG_BT_HCI_RAW=y | ||
CONFIG_BT_MAX_CONN=4 | ||
CONFIG_BT_CTLR_ASSERT_HANDLER=y | ||
CONFIG_BT_HCI_RAW_RESERVE=1 | ||
|
||
# Workaround: Unable to allocate command buffer when using K_NO_WAIT since | ||
# Host number of completed commands does not follow normal flow control. | ||
#CONFIG_BT_BUF_CMD_TX_COUNT=10 | ||
|
||
CONFIG_ASSERT=y | ||
CONFIG_DEBUG_INFO=y | ||
CONFIG_EXCEPTION_STACK_TRACE=y | ||
|
||
CONFIG_NRF_802154_SER_RADIO=y | ||
CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=2 | ||
CONFIG_IPC_SERVICE_BACKEND_RPMSG=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
SB_CONFIG_OPENTHREAD=y |
13 changes: 13 additions & 0 deletions
13
samples/openthread/coap_server/sysbuild/802154_rpmsg/prj.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,13 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
## Disable serial and UART interface. | ||
CONFIG_SERIAL=n | ||
CONFIG_UART_CONSOLE=n | ||
|
||
CONFIG_LOG=n | ||
|
||
CONFIG_NRF_802154_SER_RADIO=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
|
||
menuconfig OPENTHREAD | ||
bool "OpenThread" | ||
depends on ZEPHYR_OPENTHREAD_MODULE | ||
|
||
if OPENTHREAD | ||
|
||
config OPENTHREAD_MULTIPROTOCOL | ||
bool "OT multiprotocol with BLE" | ||
help | ||
OT multiprotocol with BLE. | ||
|
||
if SOC_NRF5340_CPUAPP | ||
|
||
config NRF_DEFAULT_MULTIPROTOCOL | ||
default y if OPENTHREAD_MULTIPROTOCOL | ||
|
||
config NRF_DEFAULT_802154 | ||
default y if !OPENTHREAD_MULTIPROTOCOL | ||
|
||
endif # SOC_NRF5340_CPUAPP | ||
|
||
endif |
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