lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Deatach LWIP Webserver


From: Luis Rossi
Subject: Re: [lwip-users] Deatach LWIP Webserver
Date: Sun, 17 Oct 2010 13:58:30 -0200

So, with no OS, there is no such standard interface as BSD sockets? Looking at every stack, the raw functions (not the API ones) looks like a lot with BSD sockets, but with some differences.
 
Another question, any sugestions of RTOS to be used with lwIP and this amount of Flash and RAM?

On Sun, Oct 17, 2010 at 12:39 PM, address@hidden <address@hidden> wrote:
 Luis Rossi wrote:
For sure they are, but usually a embedded OS uses a big footprint and lots of RAM (assuming i am going to use a device with 512KB of Flash and 32-64 KB of RAM. Any sugestion?
My suggestion would be to not use sockets in such a device. The sockets API is designed for threaded (i.e. sequential) programming. You either need an OS for it or you need a socket-library that can run OS-less. I doubt these two options differ much regarding RAM/ROM size.

On the other hand, 512KB flash is rather big: for an embedded OS, some 10th KB of flash and some KB RAM should be enough.

However, if you fear running out of flash and RAM, why not simply use lwIP in the OS-less mode (NO_SYS==1) and use lwIP's webserver?

Simon


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



--
Luís Filipe Rossi
Electrical Engineer
Escola Politécnica
Universidade de São Paulo

reply via email to

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