-
Notifications
You must be signed in to change notification settings - Fork 3k
Provide fix for IAR failure to feature-hal-spec-rtc branch #5447
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
Provide fix for IAR failure to feature-hal-spec-rtc branch #5447
Conversation
Keep the prototypes in rtc_api.h even when DEVICE_RTC is not defined. This allows devices that aren't fully compliant with the RTC API to still use the header and prototypes.
Keep the RTC code if either DEVICE_RTC or DEVICE_LOWPOWERTIMER is defined on the devices which use the RTC for both the rtc api and the low power timer api. This allows DEVICE_LOWPOWERTIMER to be enabled while DEVICE_RTC is turned off.
Add requirements, tests, an example implementation and additional function documentation to the HAL RTC API.
Turn off RTC for all devices. When support for a device is added this should be re-enabled.
RTC specification with test headers (branch feature-hal-spec-rtc)
Why are the last 4 commits shown here, if they are already on the branch (see https://github.com/ARMmbed/mbed-os/commits/feature-hal-spec-rtc) ? they look like you rebased those (changed sha) . |
@0xc0170 Assuming that
What do you think? |
Ah that explains it, it was rebased. It should not be rebased as it's already in this repo as a branch and contains new commits, thus merge only. Cherry-pick one comment would do the trick in this case, but we want to keep the branch up to date. |
e901965
to
c0f1c17
Compare
Merged master to feature branch. |
/morph build |
Build : FAILUREBuild number : 453 |
Now we have some wifi issue on REALTEK_RTL8195AM: |
@mprse This was fixed 3 hours ago (was in the queue for CI thus was not picked up with this update yesterday). It is now on master (another build few mins after this one on master is green!). Can you please cherry-pick that one as well ? |
c0f1c17
to
0068305
Compare
Merged to the new master. |
/morph build |
Build : SUCCESSBuild number : 456 Triggering tests/morph test |
Test : SUCCESSBuild number : 275 |
Updating a feature branch by only merging master into it makes it hard to rebase in the future as we will need to do before merging these changes into master. @0xc0170 has strong feelings against rebasing the feature branch, so I'm proposing an alternative hybrid approach in #5460. @theotherjimmy @sg- @bulislaw |
cc @kjbracey-arm @SeppoTakalo who might have also suggestions for updating feature branches |
Why are we not rebasing the feature branch on master? That is what we should be doing. PRs are only for board support of the feature or fixes to the feature. |
I see that PR #5460 provides also these 4 commits which were already on the feature branch with modified hashes. This was my first approach and it was not acceptable since the hashes are changed.
This would have to be done by someone who has rights to perform changes on |
This branch will be updated later today @mprse , will let you know. |
d312da9
to
5e6c46e
Compare
feature-hal-spec-rtc rebased on master |
Description
Update feature-hal-spec-rtc branch to master in order to provide fix for IAR failure (#5415).
Status
READY
Migrations
NO
Related PRs
List related PRs against other branches: