This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: pit_fix.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]