Skip to content
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

Mbed 2 - Mbed OS 5 : Sleep incorrect for Nordic target #2758

Closed
aracosta1 opened this issue Sep 20, 2016 · 6 comments
Closed

Mbed 2 - Mbed OS 5 : Sleep incorrect for Nordic target #2758

aracosta1 opened this issue Sep 20, 2016 · 6 comments

Comments

@aracosta1
Copy link

Description

  • Type: Bug

Bug

Target
TARGET_NORDIC
TARGET_MCU_NRF51822
TARGET_NRF5

The sleep() function don't take into account the use of the softdevice.
the correct implementation should be similar to the one used on mbed OS 3:

@pan-
Copy link
Member

pan- commented Sep 21, 2016

@nvlsianpu Could you look at this ?

@nvlsianpu
Copy link
Contributor

Thanks for yours comment. I will take care of fix it.

@adbridge
Copy link
Contributor

@aracosta1 It looks like your issue should be fixed with the latest release of mbed-os (5.2.0). Could you please verify and close this issue if so ? Thanks.

@aracosta1
Copy link
Author

I'm doing some basic test and it seem to work correctly.
I had one warning during a compilation obout sleep.o not unique but now I cannot reproduce te issue anymore.
I will try to do some test also on OS version 2

@aracosta1
Copy link
Author

At the moment I cannot test for the OS version 2 because the build system is broken for the latest library version (see bug #3249). I will update when the build system is fixed

@aracosta1
Copy link
Author

I had done some test and for me it's working so I close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants