jecrespo / duinos

Automatically exported from code.google.com/p/duinos
0 stars 0 forks source link

Modifying the DuinOS tick duration with configTICK_RATE_HZ #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the FreeRTOS code/documentation, it's my understanding that the duration of 
a tick can be modified by changing configTICK_RATE_HZ in FreeRTOSConfig.h.  
However, in DuinOS, it appears that the tick duration does not depend on 
configTICK_RATE_HZ but instead is dependent solely on the timer0 interrupt set 
up in wiring.c (i.e., when FREERTOS_ARDUINO is defined).

Please correct me if I'm wrong.  Otherwise, it'd be nice to be able to control 
the tick duration via configTICK_RATE_HZ or to document that the value has no 
effect.  

Original issue reported on code.google.com by leep...@gmail.com on 18 Jun 2011 at 6:13