public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: EnneGi <enricogiordano1992@gmail.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] lwIP for LPC1766
Date: Sun, 21 Apr 2013 12:26:00 -0000	[thread overview]
Message-ID: <1366547180806-229167.post@n7.nabble.com> (raw)

Hi all, I tried to write a simple example of lwIP for LPC1766.


#include <network.h>
#include <cyg/infra/diag.h>
#include <lwip/netif.h>

int main(int argc, char** argv) {

	diag_printf("\nInit stack\n");

	cyg_lwip_simple_init();

	diag_printf("Init Network done\n");
	

	while(1)
		stats_display();

	return 0;
}


I complile this and upload on my board, but it don't work. Why? I wrote a
wrong code? I try to debug with arm-eabi-gdb but do anything...



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/lwIP-for-LPC1766-tp229167.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

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

                 reply	other threads:[~2013-04-21 12:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1366547180806-229167.post@n7.nabble.com \
    --to=enricogiordano1992@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /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).