Skip to content

Commit

Permalink
openthread: Add RCP feature set option.
Browse files Browse the repository at this point in the history
Commit addds RCP feature set option:
`CONFIG_OPENTHREAD_NORDIC_LIBRARY_RCP` to OT Kconfig.

Signed-off-by: Przemyslaw Bida <[email protected]>
  • Loading branch information
canisLupus1313 committed Apr 11, 2024
1 parent 39c4313 commit 3dd7c17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions openthread/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ config OPENTHREAD_NORDIC_LIBRARY_MTD
help
Nordic Semiconductor optimized OpenThread features for MTD.

config OPENTHREAD_NORDIC_LIBRARY_RCP
bool "Nordic OpenThread RCP configuration"
select OPENTHREAD_LINK_METRICS_INITIATOR if !OPENTHREAD_THREAD_VERSION_1_1
select OPENTHREAD_LINK_METRICS_SUBJECT if !OPENTHREAD_THREAD_VERSION_1_1
select OPENTHREAD_CSL_RECEIVER if !OPENTHREAD_THREAD_VERSION_1_1
help
Nordic Semiconductor optimized OpenThread features for RCP.

config OPENTHREAD_USER_CUSTOM_LIBRARY
bool "User custom configuration"
help
Expand Down
2 changes: 2 additions & 0 deletions openthread/cmake/extensions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ function(openthread_calculate_lib_path ot_version lib_path)
set(ot_feature_set "ftd")
elseif(CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD)
set(ot_feature_set "mtd")
elseif(CONFIG_OPENTHREAD_NORDIC_LIBRARY_RCP)
set(ot_feature_set "rcp")
else()
set(ot_feature_set "custom")
endif()
Expand Down

0 comments on commit 3dd7c17

Please sign in to comment.