This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: General Q: Calling RedBoot CLI function from eCos app
- From: John Mills <johnmills at speakeasy dot net>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 30 May 2007 14:11:43 -0500 (EST)
- Subject: Re: [ECOS] General Q: Calling RedBoot CLI function from eCos app
- Reply-to: John Mills <john dot m dot mills at alum dot mit dot edu>
Andrew -
Thanks for the lead, but in my eCos app that macro just expands to NULL.
The same code line works perfectly in RedBoot's 'main.c', however.
I would also like to pass some of RedBoot's net-related config data to my
app as well -- 'version' looked like a useful and relatively easy step in
that direction.
Other ideas welcome, naturally.
- John Mills
On Wed, 30 May 2007, Andrew Lunn wrote:
> #include <cyg/hal/hal_if.>
> char *version = CYGACC_CALL_IF_MONITOR_VERSION();
diag_printf(version);
> probably works.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss