This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: Exit problem


Hi,
  We were able to download the image , via gdb and executed the code.
  But the only issue We are facing  is we are not able to use any of the
standard library  function like printf , strcpy.

Also the final exit from the main code is not happening in normal way.
Its going into any infinite loop.

Please someone suggest , how to exit normally from the main and to use
std library function.

regards
singh

----- Original Message -----
From: "Gangadhar Singh" <gangadhar@deccanetworld.com>
Cc: <ecos-discuss@sourceware.cygnus.com>
Sent: Friday, October 19, 2001 1:09 PM
Subject: Re: [ECOS] does it support mouse and keyboard?


> Hi,
>   We were able to download the image , via gdb and executed the code.
>   But the only issue We are facing  is we are not able to use any of the
> standard library  function like printf , strcpy.
>
> Also the final exit from the main code is not happening in normal way.
> Its going into any infinite loop.
>
> Please someone suggest , how to exit normally from the main and to use
> std library function.
>
> regards
> singh
> ----- Original Message -----
> From: "Jonathan Larmour" <jlarmour@redhat.com>
> To: "li hui" <lhbyron@yahoo.com>
> Cc: <ecos-discuss@sourceware.cygnus.com>
> Sent: Friday, October 19, 2001 11:44 AM
> Subject: Re: [ECOS] does it support mouse and keyboard?
>
>
> > li hui wrote:
> > >
> > > I eager to know does eCos for i386 support mouse and
> > > keyboard ?if it does,how to enactivate them?
> >
> > No for mouse but yes for keyboard, but only via the "diagnostic" I/O
> > interface, not a full serial driver. You can use this by setting the
> > default console configuration option in the i386 PC HAL to 2 (for the
> > "screen"), and then standard I/O in your app should go via screen and
> > keyboard.
> >
> > You may also have to disable the "inherit console" HAL CDL option.
> >
> > Really we need true keyboard/mouse drivers though.
> >
> > Jifl
> > --
> > Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
271062
> > Maybe this world is another planet's Hell -Aldous Huxley ||
Opinions==mine


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