-
Notifications
You must be signed in to change notification settings - Fork 3k
Renamed files in platform to match source names #3654
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
@geky Can you take a look at the travis failure?
|
Looks like the sed added an extra 'mbed_' for some of the files , resulting in eg. mbed_mbed_semihost_api.h which is obviously wrong. Looks like this change may need revisiting. |
Noted: Don't run the script twice 😆 Should be updated |
/morph test |
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.
Looks good after the update
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputBuild failed! |
retest uvisor |
1 similar comment
retest uvisor |
platform/critical.h
Outdated
#endif // __MBED_UTIL_CRITICAL_H__ | ||
|
||
/** @}*/ | ||
#warning critical.h has been replaced by mbed_critical.h, please update to mbed_critical.h [since mbed-os-5.3] |
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.
Shouldn't all these headers have still protection against multiple inclusion? (as it had on line 21, 22 in this one)
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.
The included file has the protection against multiple inclusion, the only downside is multiple warning messages which shouldn't be an issue.
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.
the only downside is multiple warning messages which shouldn't be an issue.
That's what I was referring to.
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.
Shouldn't all these headers have still protection against multiple inclusion?
can this be added back?
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.
@geky bump - can header guards get added back in?
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.
Ah sorry, I missed this earlier. Didn't realize this was a blocking issue?
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.
Should be updated
There's failure with morph CI for this command: Locally, latest master works, its regarding sleep that should not be affected by this PR. /morph test |
Result: FAILUREYour command has finished executing! Here's what you wrote!
OutputBuild failed! |
OK, the failure is even on master but it did not break , anyway, going to fix it on master, this can be rebased on top of it. |
PR referenced above that should fix the morph failure, please review, rebase once integrated |
@geky PR maintenance needed. |
Should be up to date. Rebasing this guy is quite painful when the header files are modified. |
04a699b
to
d2a66cf
Compare
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
retest uvisor |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Hey @geky I looked through the CI logs and it looks like there's only one include that needs to be touched up: https://github.com/ARMmbed/mbed-os/blob/master/rtos/rtos_idle.c#L24 This came in as part of #3566 after you made this PR, so this just needs a rebase/update! |
@geky Can you please resolve the conflict and run CI again? |
critical.h -> mbed_critical.h sleep.h -> mbed_sleep.h toolchain.h -> mbed_toolchain.h rtc_time.h -> mbed_rtc_time.h semihost_api.h -> mbed_semihost_api.h wait_api.h -> mbed_wait_api.h
Updated again |
Ooops, bot was down.... /morph test-nightly |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Small pr to rename the files in platform to match source names.
Here's the changed files
Useful sed command for updating files:
Should resolve #3259
cc @bridadan, @adbridge, @0xc0170