This is the mail archive of the ecos-discuss@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]

Re: timer alarm or any timer in Redboot


> Does Redboot support an alarm timer, or any timer for that matter,
> that I can use to toggle a LED while Redboot is booting?
> I'm not asking about the delay timer, I need an asynchronous timer.

Interrupts are not running, you don't have a kernel. So no.

The nearest you have is that Redboot has a poll loop. When redboot has
nothing to do, it calls do_idle() which calls a list of idle
functions. You could hook this and blink your LED. But by the time
this is being called, booting is over. Redboot is running.

           Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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