-
Notifications
You must be signed in to change notification settings - Fork 3k
Move connectivity lora stubs #14842
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
Move connectivity lora stubs #14842
Conversation
93a6ffb
to
a62b978
Compare
@rajkan01, thank you for your changes. |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
Move the connectivity lorawan stubs into the connectivity/lorawan component directory. So we can avoid duplicating the mbed-os source tree in a central UNITTESTS folder.
Update lorawan unit test to link only with a mbed-stubs-lorawan library that it depends on instead of link with mbed-stubs which is a group of stubs libraries.
Previously, all lorawan headers made as a part of the mbed-headers-connectivity library. To make it easier to separate all the lorawan headers into the separate mbed-headers-lorawan library and keep them, as part of lorawan stubs CMake. This makes the lorawan stubs more self-contained and improves the composition of the library.
Update lorawan unit test to link only with a mbed-headers-lorawan library that it depends on instead of link with mbed-headers which is a group of headers libraries.
Previously the connectivity lorawan stub library depended on `mbed-headers`, which is a collection of all available headers in mbed-os. To make it easier to separate the library, only depend on the headers we're using.
…e dir Previously all the lorawan stubs headers under mbed-stubs-headers, so this PR move all lorawan stubs headers under cellular/tests/UNITTESTS/double directory and update CMake to include stubs headers into mbed-stubs-lorawan library to make lorawan stubs to be self-contained
a62b978
to
46d4247
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@0xc0170 Could you review and start the CI for this PR Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
fixes #14836
mbed-headers
, which is a collection of all available headers in mbed-os. To make it easier to separate the library, only depend on the headers it uses.mbed-stubs-headers
, so this PR move all lorawan stubs headers underlorawan/tests/UNITTESTS/double
directory and updated CMake to include those headers as part ofmbed-stubs-lorawan
library to make lorawan stubs to be self-containedImpact of changes
None.
Migration actions required
None
Documentation
To be updated
Pull request type
Test results
Reviewers