lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP sending without headers


From: Peter LM
Subject: Re: [lwip-users] TCP sending without headers
Date: Wed, 10 Jul 2013 06:44:39 -0700 (PDT)

Krzysztof Wesołowski wrote
> On Wed, Jul 10, 2013 at 1:58 PM, Peter LM <

> listmlm78@

> > wrote:
> 
>> I read something about NOCOPY during netconn-write(), and in the contrib
>> example the flag NOCOPY was used therefore I did the same. But It is
>> correctl running with the flag NETCON_COPY instead of NETCONN_NOCOPY !!
>> Obviously I would prefer to use NOCOPY since I only send "read-only data"
>> with the view to improve execution time and memory usage...
> 
> 
> What you mean by read only data? It must be at least:
> - directly adressible (flash or RAM in MCU),
> - accesible by drivers DMA (for example Core Coupled RAM on STM32F4 cannot
> be used).
> 
> Regards,
> Krzysztof Wesołowski
> 
> _______________________________________________
> lwip-users mailing list

> lwip-users@

> https://lists.nongnu.org/mailman/listinfo/lwip-users

I meant read only data (const variable placed in .rodata section) thus
directly adressible. I'm using only 128 KB RAM. I have not used DMA yet,
just memcpy ...

Regards,
Peter



--
View this message in context: 
http://lwip.100.n7.nabble.com/TCP-sending-without-headers-tp21719p21730.html
Sent from the lwip-users mailing list archive at Nabble.com.



reply via email to

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