Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openthread: Add RCP feature set option. #1292

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading