-
Notifications
You must be signed in to change notification settings - Fork 3k
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
S5JS100: remove idle hook in favour of Mbed-default idle hook #13978
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ciarmcom
added
the
release-type: patch
Indentifies a PR as containing just a patch
label
Nov 27, 2020
@LDong-Arm, thank you for your changes. |
0xc0170
approved these changes
Nov 30, 2020
evedon
approved these changes
Nov 30, 2020
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
CI restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
@ARMmbed/team-samsung Can you review? We would like to merge this. |
mbedmain
added
release-version: 6.6.0
Release-pending
and removed
release-type: patch
Indentifies a PR as containing just a patch
Release-pending
labels
Dec 11, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
Fix for S5JS100 mentioned in #13265
S5JS100's
hal_sleep()
implementation attaches an idle hook usingrtos_attach_idle_hook()
, butrtos_attach_idle_hook()
is reserved to be only used by the user-facing APIKernel::attach_idle_hook()
. Conflicts will happen, if an application usesKernel::attach_idle_hook()
(which is a valid use case) - the application's idle hook will override S5JS100hal_sleep()
's.This PR removes the S5JS100-specific idle hook in favour of the Mbed-default one. See discussion here.
Note: This is only a fix for S5JS100's usage of RTOS idle hook. The bare metal profile is not yet supported for this target, as some additionally clean-up/restructuring would be required.
Impact of changes
Target-specific rework, no noticeable impact on developers.
Migration actions required
None.
Documentation
None.
Pull request type
Test results
Reviewers
@ARMmbed/team-samsung @ARMmbed/mbed-os-core