zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.76k stars 6.56k forks source link

Add OpenThread Spinel HDLC RCP host interface files to Zehyr #79882

Open dleach02 opened 1 week ago

dleach02 commented 1 week ago

Origin

OpenThread Project

https://github.com/openthread/openthread/tree/main/src/posix/platform

Purpose

Adds Zephyr support for OpenThread HDLC/Spinel RCP communications.

Mode of integration

Add relevant files to modules/openthread/platform interface directory in Zephyr repository.

Maintainership

Covered by OpenThread maintainer list

Pull Request

75986

Description

Adds support for RCP design where the core of OpenThread lives in a connected RCP radio controller over a HDLC interface.

Dependencies

None

Revision

Copying the posix version of the files from OpenThread and making relevant changes to support Zephyr integration.

License

BSD-3-Clause

dleach02 commented 1 week ago

ping @rlubos @JA-NXP

nashif commented 1 week ago

beside the license, those files being pulled are c++!

dleach02 commented 4 days ago

beside the license, those files being pulled are c++!

Yes. OpenThread module is also all c++ so makes sense that these files would be as well. I'll let the networking WG discuss why but it was observed that this isn't the first instance of doing this within Zephyr:

The initial question about the license is what this RFC wants to resolve/discuss with TSC

dleach02 commented 2 days ago

From the TSC meeting notes, 3 questions: