Where Nil wins hands down is memory usage, both RAM and Flash. In future RT will be aimed at "normal" 32bits devices, Nil at 8/16bits devices and lesser 32bits one (there are now very small devices from ST, NXP etc that could use a memory-efficient RTOS). This is fun considering that RT i...
Hmmm... the bigger C1 is good. I'd try a bigger C2 and some inductors in series with R1 & R2. Even some big ferrite beads would help. It's usually easier to filter out noise than to cope with it in software.
2) I want a simple, rational API that is not dictated by the lwIP way to see things. Giovanni Given that your stated goal is easing your support burden, you would do well to adhere closely to the lwIP code and interfaces, whether or not you find them "rational". Let the lwIP devs do their...
My view is that ISR code should generally be as short and fast as practical. It should always be fully deterministic. Dynamic memory allocation invariably involves having to deal with the "out of memory" condition. I can perhaps imagine some peculiar cases where explicitly calling chPoolAl...