Problem with uIP

fabtor wrote on Friday, November 03, 2006:


I’ve just finish to port freertos on STR91x using Rowley CrossStudio (GCC).

The RTOS works at 100% with all demonstration tasks but i’ve a problem with uIP.

When i link the ethernet cable, the port seems to initialize correctly , but when i

try to “ping” with my board i don’t receive any reply by it.

I used uIP of the IAR Project and the IP address is setting correctly.

There are particular changes to make for compile uIP under GCC?



nobody wrote on Friday, November 03, 2006:

There is a uIP GCC demo in the download, but for an older version of uIP.  Look in the Demo\uIP_Demo_Rowley_ARM7 folder.

In particular look at uip_arp.h and uip.h.  These both use __attribute__ to pack and align data.  This is GCC specific (other compilers use different syntax that is) so might be what your problem is.