Clock ticks

Joel Sherrill <> joel.sherrill at
Fri Jan 21 12:21:11 UTC 2005

Ralf Corsepius wrote:
> On Fri, 2005-01-21 at 10:52 +0100, Daniel Gustafsson wrote:
>>How do I inform Rtems 4.6.2 that I am running on a 20Mhz CPU.
>>I've tried to alter MICRO_SECONDS_PER_TICK but i can't figure out how it is
>>done properly (correct value).
> It's highly BSP and target specific. Which target, which BSP are you
> using?

If memory servers, they are on a SPARC/ERC32.  It should work
because the BSP will do math in the clock driver to convert the
configured value into the value used to program the timer.

The constant you are using should be CONFIGURE_MICROSECONDS_PER_TICK
and it should be set BEFORE you include confdefs.h.


More information about the users mailing list