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: hal_platform_setup.h usage


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


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