Is there a good reason why the ETH_PAD_SIZE option is commented out in the shared lwipopts.h file for the wlan examples?The LWIP website says
Code:
// #define ETH_PAD_SIZE 2... which sounds like a good idea?ETH_PAD_SIZE: number of bytes added before the ethernet header to ensure alignment of payload after that header. Since the header is 14 bytes long, without this padding e.g. addresses in the IP header will not be aligned on a 32-bit boundary, so setting this to 2 can speed up 32-bit-platforms.
Statistics: Posted by mjcross — Sat Jan 24, 2026 3:25 pm — Replies 1 — Views 44