Re: [lwip-users] Alignment issue in etharp_raw() ?

2017-09-11 Thread goldsi...@gmx.de
Ran Shalit wrote: I have issue on using lwip (1.3.1) You'll probably have more issues with that old version. As you might imagine, there were some bugs fixes since then ;-) Is there a simple way to fix it (without upgrading to newer version) ? Yes. Well, simple depends on the definition.

[lwip-users] Alignment issue in etharp_raw() ?

2017-09-10 Thread Ran Shalit
Hello, I have issue on using lwip (1.3.1) porting for uc/os . It seems that the OS hangs on executing : etharp_raw()-> hdr->dipaddr = *(struct ip_addr2 *)ipdst_addr; On further investigation, it seems that the problem is that ipdst_addr is not 4 byte aligned but only 2 byte aligned (address