public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] lwIP for LPC1766
@ 2013-04-21 12:26 EnneGi
  0 siblings, 0 replies; only message in thread
From: EnneGi @ 2013-04-21 12:26 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-21 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-21 12:26 [ECOS] lwIP for LPC1766 EnneGi

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).