public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Simon Kallweit <simon.kallweit@intefo.ch>
To: ganesh kr <krganesh01@gmail.com>
Cc: eCos Discuss <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] dividing the elf object file file in to two binary files
Date: Thu, 23 Jul 2009 07:13:00 -0000	[thread overview]
Message-ID: <4A680D87.4020401@intefo.ch> (raw)
In-Reply-To: <73f9997f0907222350y49e0773dr926c16b42518839c@mail.gmail.com>

ganesh kr wrote:
> Hi Simon,
> 
> Thanks a lot for the response. You have kept my project going. Please
> tell me how can I integrate your lwip port with my present ecos code
> base. I have both ecos3.0 and ecos 2.0 code base. By seeing your  port
> it looks like you have used ecos2.0. its OK for me to go with ecos
> 2.0. Only thing is how can I integrate with the code base I have.
> Also, once integrate, can I build it using the config tool as part of
> libtarget.a?

This port is built for ecos 3.0, or better said, for CVS head. I'm not 
sure if it would run for ecos 2.0 too.

The easiest way to integrate this with your code base is to just remove 
the old packages/net/lwip_tcpip folder and replace it with the new 
lwip_tcpip folder. The package also needs to be registered in the 
packages/ecos.db file, but nothing has changed here from the old lwip 
port to the new one, so don't have to change that.

Once this is integrated you can just add lwip to your project as with 
the earlier port.

ecosconfig add lwip

Or you can use the configtool to add the package. Configuration has 
changed considerably from the earlier port, but it's much better 
organized now and should be relatively easy to do.

For a few examples of how to use the port see the examples!

There are two supported modes for running lwip. I called them 
"sequential" and "simple" modes. In the simple mode you run lwip in a 
single thread, making it very resource friendly. But you need to use the 
RAW APIs in this mode. In the sequential mode, lwip is run in multiple 
threads and you can use all the advanced APIs like netconn and sockets.

Best regards
Simon

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  parent reply	other threads:[~2009-07-23  7:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20  5:03 ganesh kr
2009-07-21 12:46 ` Martin Laabs
2009-07-22  4:53   ` ganesh kr
2009-07-22 11:22     ` ganesh kr
2009-07-22 11:25       ` Simon Kallweit
     [not found]         ` <73f9997f0907222350y49e0773dr926c16b42518839c@mail.gmail.com>
2009-07-23  7:13           ` Simon Kallweit [this message]
     [not found]             ` <73f9997f0907282209l65073597m356c05a397bd3203@mail.gmail.com>
2009-07-29  6:18               ` Simon Kallweit
2009-08-05 13:07 ` [ECOS] " ganesh kr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A680D87.4020401@intefo.ch \
    --to=simon.kallweit@intefo.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=krganesh01@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).