Skip to content

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

Conversation

mprse
Copy link
Contributor

@mprse mprse commented Nov 7, 2017

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:

branch PR
feature-hal-spec-rtc branch https://github.com/ARMmbed/mbed-os/pull/5306

c1728p9 and others added 5 commits October 25, 2017 17:16
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)
@0xc0170
Copy link
Contributor

0xc0170 commented Nov 7, 2017

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) .

@mprse
Copy link
Contributor Author

mprse commented Nov 7, 2017

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 mprse:feature-hal-spec-rtc_fix_for_iar_failure is even with ARMmbed:feature-hal-spec-rtc I have used git rebase master command on mprse:feature-hal-spec-rtc_fix_for_iar_failure that is why sha of the existing commits have been changed. Commits from master have been included to mprse:feature-hal-spec-rtc_fix_for_iar_failure and existing commits have been moved on top with modified sha. If this solution is not acceptable, then I see the following alternatives:

  • PR from ARMmbed:master to ARMmbed:feature-hal-spec-rtc,
  • cherry pick only the commit with IAR fix - this should not change sha of existing commits.

What do you think?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 7, 2017

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.

@mprse mprse force-pushed the feature-hal-spec-rtc_fix_for_iar_failure branch from e901965 to c0f1c17 Compare November 7, 2017 13:10
@mprse
Copy link
Contributor Author

mprse commented Nov 8, 2017

Merged master to feature branch.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 8, 2017

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 8, 2017

Build : FAILURE

Build number : 453
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5447/

@mprse
Copy link
Contributor Author

mprse commented Nov 8, 2017

Build : FAILURE
Build number : 453
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5447/

Now we have some wifi issue on REALTEK_RTL8195AM:
[Error] mbed_config.h@60,90: 'WIFI_SSID' was not declared in this scope
[Error] mbed_config.h@60,101: 'WIFI_PASSWORD' was not declared in this scope
[Error] mbed_config.h@60,116: 'WIFI_SECURITY' was not declared in this scope
[Error] mbed_config.h@60,131: 'WIFI_CHANNEL' was not declared in this scope

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 8, 2017

@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 ?

@mprse mprse force-pushed the feature-hal-spec-rtc_fix_for_iar_failure branch from c0f1c17 to 0068305 Compare November 8, 2017 11:34
@mprse
Copy link
Contributor Author

mprse commented Nov 8, 2017

@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 ?

Merged to the new master.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 8, 2017

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 8, 2017

Build : SUCCESS

Build number : 456
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5447/

Triggering tests

/morph test
/morph uvisor-test

@mbed-ci
Copy link

mbed-ci commented Nov 8, 2017

@c1728p9
Copy link
Contributor

c1728p9 commented Nov 8, 2017

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

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 8, 2017

Updating a feature branch by only merging master into 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

@sg-
Copy link
Contributor

sg- commented Nov 8, 2017

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.

@mprse
Copy link
Contributor Author

mprse commented Nov 9, 2017

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.
Do we have some procedure for rebasing branch to master (to know how to do it properly in the future)?

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.

This would have to be done by someone who has rights to perform changes on ARMmbed repository. I do not have, so it looks like PR is the only option.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 9, 2017

Do we have some procedure for rebasing branch to master (to know how to do it properly in the future)?

This branch will be updated later today @mprse , will let you know.

@c1728p9
Copy link
Contributor

c1728p9 commented Nov 9, 2017

feature-hal-spec-rtc rebased on master

@c1728p9 c1728p9 closed this Nov 9, 2017
@sg- sg- removed the needs: review label Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants