-
Notifications
You must be signed in to change notification settings - Fork 3k
platform: fix internal platform headers #13459
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
If we take platform as a component, platform/source would be outside of this component. I removed the prefix as these are implementation specific (they are located in source folder, not in include as the others).
@0xc0170, thank you for your changes. |
@0xc0170 Removing the prefix is the right thing to do - the library folder name is "unknown" to the code itself. 👍
They are non-API internal headers, and the idea is to have them
The reason we have But please let us know if the above assumption doesn't actually work easily with CMake. |
I found more offenders and even outside of platform component, I updated the above comment.. But will add it as well here:
Events, rtos uses internal source files. The question now is - is t his really internal header , shouldn't it be moved to include/ folder and that would actually fix the issue I am seeing ? |
That header is not supposed to be public API, but at some point equeue_mbed.cpp found itself needing to use some of the Given that everything in the header I didn't want people to use in apps is namespaced as |
Agree with @kjbracey-arm, moving |
I moved 3 headers into internal "namespace" as mentioned above. Please review |
bd059b6
to
d2013a3
Compare
They belong to internal folder to follow our guideline, not in source as they were.
d2013a3
to
a6ce2c5
Compare
I've missed few more spots, updated |
fix the typo Co-authored-by: Lingkai Dong <[email protected]>
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Travis restarted (this still needs reviews) |
ready for reviews again |
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
Summary of changes
Note: I am using platform as a component with CMake, therefore include paths are set differently than with our build system (CMake is not including everything thus this is failing).
If we take platform as a component, platform/source would be outside of this component. I moved internal headers into internal folder.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers