[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] uclinux-auto doesn't compile without GPIOdriver



Hi Claudio,

Claudio Lanconelli wrote:

> I add the following lines to machine.c to let the file compile without the 
> GPIO driver.

Good idea - I will add this into CVS.  Thanks for fixing it up.

> What is the purpose of the mach_heartbeat() function?

The idea is to blink an LED durign the timer interrupt - so if the 
machine is alive, you see its heartbeat.  There is also some code in 
there (currently #ifdef'd out) to do a sort of pulse beat, as a function 
of the ucrrent CPU load.  It's quite cool, set a bunch of threads running:

dd if=/dev/zero of=/dev/null

and watch the heartbeat go racing!

Regards,

John


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/