From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5387 invoked by alias); 23 Jul 2009 07:13:17 -0000 Received: (qmail 5373 invoked by uid 22791); 23 Jul 2009 07:13:15 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail04.solnet.ch (HELO mail04.solnet.ch) (212.101.4.138) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Jul 2009 07:13:05 +0000 Received: from mail04.solnet.ch ([127.0.0.1]) by localhost (mail04.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id opvkvwKEEsXO; Thu, 23 Jul 2009 07:13:01 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail04.solnet.ch (Postfix) with ESMTP id 6D3DB87427; Thu, 23 Jul 2009 07:13:01 +0000 (UTC) Received: from beta.intefo.ch ([127.0.0.1]) by localhost (beta.intefo.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Yu0PYyKi9gFM; Thu, 23 Jul 2009 09:13:00 +0200 (CEST) Received: from [192.168.1.92] (192.168.1.92.local.home [192.168.1.92]) by beta.intefo.ch (Postfix) with ESMTP id D80337700A9; Thu, 23 Jul 2009 09:13:00 +0200 (CEST) Message-ID: <4A680D87.4020401@intefo.ch> Date: Thu, 23 Jul 2009 07:13:00 -0000 From: Simon Kallweit User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: ganesh kr CC: eCos Discuss References: <73f9997f0907192203h77494e62u58b44ccfc7a738f4@mail.gmail.com> <4A65B8AE.8090204@martinlaabs.de> <73f9997f0907212153i743cfc7as86d2a1205c5dc7ab@mail.gmail.com> <73f9997f0907220421y145a62c3lb2728a132474c900@mail.gmail.com> <4A66F7E0.4050703@intefo.ch> <73f9997f0907222350y49e0773dr926c16b42518839c@mail.gmail.com> In-Reply-To: <73f9997f0907222350y49e0773dr926c16b42518839c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] dividing the elf object file file in to two binary files X-SW-Source: 2009-07/txt/msg00208.txt.bz2 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