rtems_task_wake_after doubles the actual period

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Oct 11 05:06:49 UTC 2016


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.



More information about the users mailing list