-
Notifications
You must be signed in to change notification settings - Fork 3k
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 target implementations of NanostackRfPhy into nanostack-interface #13119
Conversation
…rface library Fixes: ARMmbed#13109 Prior to this commit, target implementations of NanostackRfPhy are not guarded by any mbed_lib.json - they are always visible to the build even if the interface itself is not enabled (e.g. when using the "requires" attribute of mbed_app.json). It causes build errors. To resolve this, this commit move target code into nanostack-interface, similar to what we do with BLE targets.
My only concern is, this PR moves the target code into the interface library. Though as said in the PR description, this is what we already do in BLE... Alternatively, if we really want to separate target and interface directories, we would need a new |
@LDong-Arm, thank you for your changes. |
I specified mbed-os-core in the description, but the script added mbed-os-ipcore instead? 🤨 |
It uses the predefined configuration so thus ipcore, but also core should be, will check cc @adbridge |
Please fix astyle failures |
We need to look at these once we do the review of the reviewers functionality. There is a Jira ticket for this in our backlog. |
@LDong-Arm thanks for the PR. I think this is good enough for now. |
Thanks for the reviews. |
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
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
@adbridge ready for CI |
CI started |
Test run: SUCCESSSummary: 7 of 7 test jobs passed |
I accidentally started a new CI job 🤦 |
Test run: SUCCESSSummary: 7 of 7 test jobs passed |
It looks like we need to do this - in the new directory structure we will move target drivers out from core connectivity libraries. |
Summary of changes
Fixes: #13109
Prior to this commit, target implementations of
NanostackRfPhy
are not guarded by anymbed_lib.json
- they are always visible to the build even if the interface itself is not enabled(e.g. when using the "requires" attribute of
mbed_app.json
). It causes build errors.To resolve this, this commit move target code into
nanostack-interface
, similar to what we do with BLE, mbedtls, etc. where the target code sits alongside the APIs.Impact of changes
Migration actions required
Documentation
None.
Pull request type
Test results
Reviewers
@MarceloSalazar @ARMmbed/mbed-os-core