Skip to content

openthread: Separate OpenThread Kconfigs from L2 layer #88799

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

Merged

Conversation

ArekBalysNordic
Copy link
Contributor

Moved OpenThread-related Kconfigs from L2 layer to modules/openthread. All of those configs were not strictly related
to the L2 layer, so they fits better to OpenThread module.

This operation allows using OpenThread Kconfigs even if L2 layer is disabled.

Enabling NET_L2_OPENTHREAD also configures those configs by selecting the OPENTHREAD kconfig, so there is no change regarding backwards compatibility. The only change is that the Kconfigs related to Thread were moved to the modules
space, so their location in the menuconfig also changed.

Once it is done, a choice for setting different L2 implementations seems to be redundant.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (5)
  • doc/releases/migration-guide-4.2.rst: Language not supported
  • doc/releases/release-notes-4.2.rst: Language not supported
  • modules/openthread/Kconfig: Language not supported
  • subsys/net/l2/CMakeLists.txt: Language not supported
  • subsys/net/l2/openthread/Kconfig: Language not supported

jukkar
jukkar previously approved these changes Apr 19, 2025
kkasperczyk-no
kkasperczyk-no previously approved these changes Apr 22, 2025
@ArekBalysNordic ArekBalysNordic dismissed stale reviews from kkasperczyk-no and jukkar via c41d9b0 April 22, 2025 06:29
@ArekBalysNordic ArekBalysNordic force-pushed the separate_ot_configs_from_l2 branch from 26de5bc to c41d9b0 Compare April 22, 2025 06:29
kkasperczyk-no
kkasperczyk-no previously approved these changes Apr 22, 2025
Moved OpenThread-related Kconfigs from L2 layer to
modules/openthread. All of those configs were not strictly related
to the L2 layer, so they fits better to OpenThread module.
This operation allows using OpenThread Kconfigs even if L2 layer is
disabled.

Enabling NET_L2_OPENTHREAD also configures those configs by
selecting the OPENTHREAD kconfig, so there is no change regarding
backwards compatibility. The only change is that the Kconfigs
related to Thread were moved to the modules space, so their
location in the menuconfig also changed.

Once it is done, a choice for setting different L2 implementations
seems to be redundant.

Signed-off-by: Arkadiusz Balys <[email protected]>
Add an entry to the release notes and migration guide regarding
moving OpenThread-related Kconfig options from
subsys/net/l2/openthred/Kconfig to modules/openthread/Kconfig.

Signed-off-by: Arkadiusz Balys <[email protected]>
@kartben kartben assigned rlubos and unassigned kartben and fabiobaltieri Apr 23, 2025
@kartben kartben merged commit e93fdca into zephyrproject-rtos:main Apr 23, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: OpenThread Release Notes To be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants