Initialisation for the AT91... PIT if there is no kernel...

oliver munz @ s p e a g munz@speag.ch
Tue Mar 21 22:48:00 GMT 2006


This Patch fixes problems whit the AT91 PIT, if it should run whitout the 
kernel.

The new hal_delay_us() is tested and works reliable whit 32bit from <20us to 
 >130years. Shorter delay's will be some thing <20us at 48MHz MCK.

There are new #ifdef CYGBLD_HAL_ARM_AT91_TIMER_PIT ... statements in
timer_pit.c and timer_tc.c sources, because whitout it can go wrong - at 
least in on my thinkpad...

Oliver Munz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pit_fix.diff
Type: application/octet-stream
Size: 8317 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20060321/146ef1a8/attachment.obj>


More information about the Ecos-patches mailing list