This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

lwIP for LPC1766


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


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