lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] lwIP API without OS


From: Mauricio brazuka
Subject: Re: [lwip-users] lwIP API without OS
Date: Thu, 10 Aug 2006 12:34:57 +0200 (CEST)

Hi,

Thanks for the answer!

Then i cant use funktions like:
netconn_write(conn, (void *)str, strlen(str), NETCONN_NOCOPY)

But with the raw-API i can to use linux as develoment environment to test and then compile the programm to Nios?

Bye
Mauricio

Christiaan Simons <address@hidden> schrieb:
Hi Mauricio,

> i am using Nios II 5.0 IDE and i try to create one project with the
> NIOS using the lwIP as Standalone.
> Is it possible to use the lwIP 0.7.1 without an operating system
> running with the NIOS II?

Yes. You'll need to use the raw-API
as documented in lwip/docs/rawapi.txt.

The raw-API is an asynchronous API,
so you'll need to make some sort of event loop.

> I use the Linux as development platform and i tried to run the
> example "unixsim/simhost" from lwIP together with the NIOS but dont
works.

Try the current lwIP sources from http://savannah.nongnu.org/projects/lwip
(use anonymous CVS to obtain the current development sources)

> I thought the lwIP (api_lib.c) can provide the emulation of the
> operating system, but i dont understand why can I define the
> architecture (sys_arch.c, sys_arch.h) to my Hardware(NIOSII). I need
> really to do this?

It does not emulate an operating system!
The socket API always requires an operating system,
this is always true, not only for lwIP.

Hope this helps,

Bye,
Christiaan.



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an.
Yahoo! Messenger. Jetzt installieren .
reply via email to

[Prev in Thread] Current Thread [Next in Thread]