Dear Simon,

You don't need to define LWIP_PLATFORM_ASSERT to fatal when LWIP_NOASSERT is defined: just define it to nothing to ensure no code gets built. Aside from that, the definition of LWIP_ERROR is purposely surrounded with "#ifndef" so that you are free to define it to "if(!expression) handler;" if you don't want the assert check, or even to nothing if you don't want the code.

Ok... In fact, I did something similar...

Thank you very much
Enrico


_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to