[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Sockets with Single thread tcp/ip
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] Sockets with Single thread tcp/ip |
Date: |
Thu, 19 Mar 2015 11:26:57 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello Damien,
On Thu, Mar 19, 2015 at 01:58:02AM -0400, COOKE, Damien wrote:
> Compilation of my project stops here in init.c
>
> #if ((LWIP_SOCKET || LWIP_NETCONN) && (NO_SYS==1))
> #error "If you want to use Sequential API, you have to define NO_SYS=0 in
> your lwipopts.h"
> #endif
>
> I need to use NO_SYS==1 as this is a ROM based device with no OS. So
> there is only one thread.
>
> I want to use sockets so I have LWIP_SOCKET =1 .
>
> Is there any way I can use this combo
Unfortunately, no.
> or am I forced to not use sockets because I don't have an OS/multiple
> threads
Yes, you are "forced" :-)
Sylvain
signature.asc
Description: Digital signature