[riot-users] Issue with xtimer_usleep

Kaspar Schleiser kaspar at schleiser.de
Mon Jan 15 09:32:09 CET 2018


Hi Aurélien,

On 01/13/2018 04:52 PM, Aurélien Fillau wrote:
> i'm facing an issue regarding xtimer_usleep. This issue is not the same
> as before which was preventing my task from waking up.
> Here, my task stays awake but is stuck in a while loop that triggers my
> watchdog.
> I can easily
> reproduce this issue by calling xtimer_usleep with very small values but
> i suppose it is also likely it can occur with any kind of values.

What board are you working on?
Are you calling xtimer_usleep() from within an ISR or with interrupts
disabled?

Kaspar


More information about the users mailing list