Re: [lwip-users] sys_arch_protect return value

2012-01-23 Thread Mason
Simon wrote: > Mason wrote: > >> I'm using OS21 (STMicro) and I've decided to use a mutex. >> >> Is it correct that, in my case, I can ignore the sys_prot_t arguments? > > Yes, mapping sys_arch_protect/unprotect to mutex_lock/unlock is correct. And when mapping to a mutex, may one ignore 1) th

[lwip-users] System objects management (semaphores, mailboxes, mutexes, threads, etc.): pool size ?

2012-01-23 Thread jblackarty
Hi all, I'm making port avoiding dynamic memory allocation (to avoid fragmentation). Thus I need to allocate system objects from pool. Could you provide me formulas how to calculate required pool sizes for each object based on options from opt.h ? I did short examination of lwip code and found th

[lwip-users] measure transmission errors with lwIP

2012-01-23 Thread Thomas Richter (TCD - DE/Dresden)
Hi, is there any possibility to measure possibly occuring transmission errors? We will do EMC tests with our hardware and will measure if there are any protocoll specific retransmissions, transmission errors (FEC, ARQ, etc.). Thanks for any tips. Regards Thomas -- Thomas Richter .--