rtems_task_wake_after doubles the actual period

xuelin.tian at qkmtech.com xuelin.tian at qkmtech.com
Tue Oct 11 06:19:59 UTC 2016

OK, problem solved. Thanks.

Best wishes,
Tim Tian
xuelin.tian at qkmtech.com
From: Sebastian Huber
Date: 2016-10-11 13:06
To: xuelin.tian at qkmtech.com; users at rtems.org
Subject: Re: rtems_task_wake_after doubles the actual period
a9mpcore_clock_periphclk() is a weak function. Simply provide an 
implementation for it returning the right value in your application.
On 11/10/16 06:35, xuelin.tian at qkmtech.com wrote:
> Dear all,
> When I used rtems_task_wake_after function to delay like 10s, 
> (rtems_task_wake_after(1000), the default tick is 10ms), the actual 
> period was incorrect, which doubled the set value. Then I checked the 
> <bspopts.h>, and modified the BSP_ARM_A9MPCORE_PERIPHCLK value without 
> rebuilding RTEMS . But nothing chaned.
> So, do I need to modify the corresponding value in <configure.ac>, and 
> rebuild my BSP? Or, is there other way to correct this bug without 
> modifying the value and rebuilding the code?
> ------------------------------------------------------------------------
> Best wishes,
> Tim Tian
> xuelin.tian at qkmtech.com
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20161011/147b3b8d/attachment-0002.html>

More information about the users mailing list