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: General Q: Calling RedBoot CLI function from eCos app


On Wed, May 30, 2007 at 07:12:34PM +0200, Andrew Lunn wrote:
> Hi Gary
> 
> > > I have an eCos app which is stored in FLASH, compressed, expanded into RAM 
> > > for execution. I'm using RedBoot[ROM] as my environment. I would like to 
> > > call the RedBoot CLI command "version" from my eCos app, then parse the 
>                                   ^^^^^^^
> 
> As far as im aware, it is not accessable via the VV.

Upps. Now i need to correct myself.....

#include <cyg/hal/hal_if.>

    char *version = CYGACC_CALL_IF_MONITOR_VERSION();

probably works.

         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]