Skip to content

[nrf toup][nrfconnect] Align OpenThread Kconfigs with Zephyr changes#611

Merged
rlubos merged 2 commits into
nrfconnect:masterfrom
adigie:align-ot-kconfigs
May 19, 2025
Merged

[nrf toup][nrfconnect] Align OpenThread Kconfigs with Zephyr changes#611
rlubos merged 2 commits into
nrfconnect:masterfrom
adigie:align-ot-kconfigs

Conversation

@adigie
Copy link
Copy Markdown
Member

@adigie adigie commented May 16, 2025

Replace NET_L2_OPENTHREAD with OPENTHREAD as OpenThread Kconfigs were moved from L2 to OpenThread module.

Keep NET_L2_OPENTHREAD if there is dependency to networking.

manifest-pr-skip
NCS PR: nrfconnect/sdk-nrf/pull/22366

Comment thread config/nrfconnect/chip-module/Kconfig Outdated
@@ -314,7 +314,7 @@ config CHIP_IPV4
config CHIP_OPENTHREAD_JOINER_ENABLED
bool "Specify whether the Thread Joiner functionality is used when it is enabled"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this config still used for anything?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's no longer used, I will remove it.

# Zephyr networking configuration
# ==============================================================================

if CONFIG_NETWORKING
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if CONFIG_NETWORKING
if NETWORKING

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@adigie adigie force-pushed the align-ot-kconfigs branch from e36eb62 to e64dc27 Compare May 16, 2025 10:37
with IPv4 support independently of the Matter stack still
running over IPv6.

config CHIP_OPENTHREAD_JOINER_ENABLED
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

config IEEE802154_NRF5_RX_STACK_SIZE
default 1024

endif # NET_L2_OPENTHREAD
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change line 271:

default y if !WIFI_NRF70
to
default y if OPENTHREAD

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently OPENTHREAD is selected by NET_L2_OPENTHREAD so no.
We can change this when we switch to the new radio implementation.

matter_add_gn_arg_bool("chip_detail_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 4)
matter_add_gn_arg_bool("chip_automation_logging" FALSE)
matter_add_gn_arg_bool("chip_enable_openthread" CONFIG_NET_L2_OPENTHREAD)
matter_add_gn_arg_bool("chip_enable_openthread" CONFIG_OPENTHREAD)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will take some time after we would be able to upstream it I guess (due to TLink or others)..

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should work the same, as NET_L2_OPENTHREAD selects OPENTHREAD.

adigie added 2 commits May 16, 2025 13:59
Replace `NET_L2_OPENTHREAD` with `OPENTHREAD` as OpenThread Kconfigs
were moved from L2 to OpenThread module.

Keep `NET_L2_OPENTHREAD` if there is dependency to networking.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Remove CHIP_OPENTHREAD_JOINER_ENABLED Kconfig as it's no longer used.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
@adigie adigie force-pushed the align-ot-kconfigs branch from e64dc27 to 21c33d2 Compare May 16, 2025 11:59
@rlubos rlubos merged commit c261ed9 into nrfconnect:master May 19, 2025
10 checks passed
@adigie adigie deleted the align-ot-kconfigs branch May 19, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants