Skip to content

Remove LF clock initialization from os_init_clock. #2213

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

Merged
merged 1 commit into from
Jul 22, 2016
Merged

Conversation

pan-
Copy link
Member

@pan- pan- commented Jul 21, 2016

The LF clock initialization is already handled by the SystemInit function.
This code was causing troubles when run on targets with an alternate LF
clock.

This fix #2132 and allows RTOS to run on targets like the NRF51_MICROBIT.

The LF clock initialization is already handled by the SystemInit function.
This code was causing troubles when run on targets with an alternate LF
clock.
@pan-
Copy link
Member Author

pan- commented Jul 21, 2016

@sg- @c1728p9 Could you review this ?

@sg-
Copy link
Contributor

sg- commented Jul 21, 2016

@mbed-bot: TEST

HOST_OSES=windows
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=NRF51_DK,NRF51_MICROBIT

@mbed-bot
Copy link

[Build 665]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@sg-
Copy link
Contributor

sg- commented Jul 21, 2016

@pan- These tests results look much better for ARM compiler with RTOS but I think #2210 will clean these up (ie not supported and run sigle threaded) once done in a non-breaking way? Should we link theses PRs together or does this land before the other?

@pan-
Copy link
Member Author

pan- commented Jul 21, 2016

I think this one can land first, it is not a breaking change for other targets but it really needed for RTOS support, even in single thread!

@sg-
Copy link
Contributor

sg- commented Jul 21, 2016

LGTM 👍 @c1728p9

@c1728p9
Copy link
Contributor

c1728p9 commented Jul 22, 2016

Looks good to me as well. I can confirm that this fixes the microbit problem I was seeing.
CC @sg-

@sg- sg- merged commit e6d4b84 into ARMmbed:master Jul 22, 2016
@pan- pan- deleted the fix#2132 branch July 3, 2018 11:03
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.

NRF51 boards without 32K crystal fails to boot
4 participants