[Bug 1738] uC5282 BSP assumes 64MHz clock

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Feb 22 18:16:02 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1738

--- Comment #6 from strauman at slac.stanford.edu 2011-02-22 12:16:02 CST ---
Created an attachment (id=1112)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=1112)
additional patch fixing system clock rate for non-64MHz boards

The attached patch to the system clock driver
programs the PIT w/o assuming the CPU clock
frequency being a power of two.

An SRAM variable was added for properly scaling
the 'nanoseconds since last tick'.

In order to make SRAM usage less obscure (currently
used by clock-, network- drivers and early stack)
the patch also adds a declaration of all SRAM
variables (as members of a 'struct') to <bsp.h>.

NOTE: This patch is to be applied *in addition* to the
previous one.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list