-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove Unneeded nordic-bsp Folder from Cordio #13753
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
Conversation
@AGlass0fMilk Is is causing any issue for you ? We try to keep the cordio stack as close as possible to the original material. |
@AGlass0fMilk, thank you for your changes. |
Hi @pan-, yes it is causing some issues with my attempt to update Nordic targets from SDK15 to the nrfx driver lib. Eliminating dependence on nRF SDK-specific files and basing the HAL implementation on just nrfx will allow mbed to easily support nearly all current Nordic chips and future ones. The SDK is really unnecessary now because the drivers are almost entirely on the nrfx API anyway and Mbed OS no longer supports using the Nordic softdevice. Retaining this Cordio directory introduces unneeded dependencies to nRF SDK files... so they should be ignored or removed. |
@pan- Alternatively, we can add a .mbedignore to ignore this directory from the build. This will eliminate the need to modify the Cordio stack when you guys integrate a new version. Is this an acceptable path forward? |
@AGlass0fMilk Thanks for the clarification. I'd prefer the second option of adding an mbed ignore file. It will make maintainers lives easier. |
ce30116
to
46bc157
Compare
@pan- I have updated the PR as discussed above. |
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.
will they be used ? Shouldn't these be removed?
@AGlass0fMilk Thanks for the clarification. I'd prefer the second option of adding an mbed ignore file. It will make maintainers lives easier.
I assume it was removed and now it is just ignored. What we should do with CMake, just ignore as well?
Yes they should be ignored since they are not linked into the resulting binary. They just introduce dependencies on header files that are in the nRF SDK that conflict with updating to nrfx. The justification for not removing them I assume is fewer steps to remember when copying over the Cordio stack files. |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
@pan- @paul-szczepanek-arm Please review, if it is good as it is after the last update |
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
As the CI run days ago, I'll rerun and then merge if all green. |
Jenkins CI Test : ❌ FAILEDBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Internal exception, restarted CI |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 3 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Travis run (due to the travis org change, we got 2 statuses). I'll merge. |
Summary of changes
The nordic-bsp folder is not needed since the Cordio BSP functions are not used.
They can therefore be removed from the index.
Impact of changes
None
Migration actions required
None
Documentation
None
Pull request type
Test results
Reviewers
@pan- @paul-szczepanek-arm