You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2021. It is now read-only.
Hello,
I'm using Mbed SDK with this library on an NRF51822 cpu.
If I use the plain code it never dispatch any event and get blocked in equeue_sema_wait.
I did some test and finally replaced the sleep() call with __WFI() and now it works correctly.
The sleep() function code calls __WFE() that dont wake up if interrupt are disabled.
I understand sleep() is more portable across different platform, but this is a big issue in using this library with the Nordic cpu.
Any suggestion ?
The text was updated successfully, but these errors were encountered:
Hello,
I'm using Mbed SDK with this library on an NRF51822 cpu.
If I use the plain code it never dispatch any event and get blocked in equeue_sema_wait.
I did some test and finally replaced the sleep() call with __WFI() and now it works correctly.
The sleep() function code calls __WFE() that dont wake up if interrupt are disabled.
I understand sleep() is more portable across different platform, but this is a big issue in using this library with the Nordic cpu.
Any suggestion ?
The text was updated successfully, but these errors were encountered: