[ECOS] hal_platform_setup.h usage
Andrew Lunn
andrew@lunn.ch
Thu Jun 28 16:15:00 GMT 2007
On Thu, Jun 28, 2007 at 05:34:44PM +0200, Alexandre wrote:
> I'm trying to initialize my eval board and use the leds on it.
> I saw the macro
> .macro _led x
> on that file and thought i could use it -.-
You can use that macro within the setup code, ie inside
hal_platform_setup. For application code there is often a
function, eg the AT91 boards have hal_at91_led().
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
More information about the Ecos-discuss
mailing list