Skip to content

Use radio_nrf in Matter #22410

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

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Use radio_nrf in Matter #22410

wants to merge 15 commits into from

Conversation

adigie
Copy link
Member

@adigie adigie commented May 19, 2025

No description provided.

ArekBalysNordic and others added 15 commits May 19, 2025 15:47
To start working with a new implementation of the OpenThread radio
platform, we need to have the dedicated radio_nrf5.c file and
kconfig to switch between legacy Zephyr's IEEE802.15.4 shim layer
and direct nrf5 radio driver implementations.

Signed-off-by: Arkadiusz Balys <[email protected]>
Prepared build environment to support building OpenThread
without Zephyr's L2 and IEEE802.15.4 shim layers.
To do it, some of Kconfigs must be cloned into the new
Kconfig file (dedicated to nRF5-driver-based approach)
to meet all OpenThread requirements while NET_L2_OPENTHREAD
is disabled.

Signed-off-by: Arkadiusz Balys <[email protected]>
Updated modules/openthread/platform after latest changes in
Zephyr.

Aligned openthread implementation to the new approach.

Signed-off-by: Arkadiusz Balys <[email protected]>
Remove Zephyr L2 related code.

Signed-off-by: Adrian Gielniewski <[email protected]>
Add alternative radio implementation that does not use Zephyr L2.

Signed-off-by: Adrian Gielniewski <[email protected]>
Stop using L2 log level in platform files.

Signed-off-by: Arkadiusz Balys <[email protected]>
The new CONFIG_OPENTHREAD_SYS_INIT Kconfig option allows OpenThread
to be automatically initialised during the Zephyr POST_KERNEL
initialisation stage.

If Zephyr's L2 layer OpenThread implementation is enabled, the
IEEE802.15.4 shim layer initialises OpenThread in the POST_KERNEL
phase. However, since Openthread may work without Zephyr's L2
layer, in this case, no object can initialise it automatically.
This new Kconfig option may help start OpenThread automatically
if the L2 Layer is disabled.

Signed-off-by: Arkadiusz Balys <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Add nrf5 radio implementation.

Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Update Matter SDK revision.

Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. manifest changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels May 19, 2025
@NordicBuilder
Copy link
Contributor

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
matter nrfconnect/sdk-connectedhomeip@c261ed9 (master) nrfconnect/sdk-connectedhomeip#616 nrfconnect/sdk-connectedhomeip#616/files
zephyr nrfconnect/sdk-zephyr@e9df3c5 nrfconnect/sdk-zephyr#2792 nrfconnect/sdk-zephyr#2792/files

DNM label due to: 2 projects with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@NordicBuilder
Copy link
Contributor

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 1

Inputs:

Sources:

more details

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (0)

Outputs:

Toolchain

Version:
Build docker image:

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ❌ Toolchain
  • ❌ Build twister
  • ❌ Integration tests

Note: This message is automatically posted and updated by the CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. DNM doc-required PR must not be merged without tech writer approval. manifest manifest-matter manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants