[Avila] Controlling an LED on gw2348 board

Tim Harvey tim_harvey at yahoo.com
Mon May 8 11:43:27 EDT 2006


--0-5860557-1147103007=:88565
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

You need to use the gpio driver, IXP425_GPIO under 'character devices', then you can use the 'setled' script under 'Miscelleaneous Applications' (CONFIG_USER_GATEWORKS and CONFIG_USER_GATEWORKS_AVILA_SETLED)

Once you've built this into your kernel/filesystem:

to turn on the LED (GPIO3 on the 2348):
# setled 0
to turn off the LED:
# setled 1

Tim

Mason Myongsu Choe <msc at nomadictechs.com> wrote: Hi,

I am a newbie in an embedded system.

Recently, I bought a gw2348-4 board with one LED.

 

I would like to control to light on and off on the led.

Is someone else who helps me how to start the problem?

 

 

Regards,

-

Mason.

--0-5860557-1147103007=:88565--





More information about the Avila mailing list