STR9 + lwip

nobody wrote on Friday, April 27, 2007:

Hi all,

I intend to add lwip instead of uip in the STR910-EVAL project . I downloaded the lwip source code and read the docs , I still didn’t know how to add lwip into FreeRTOS .

Does anyone can help me ?

nobody wrote on Friday, April 27, 2007:

There are a couple of things you need to do.  First fill in the lwIP portable layer stubs with the relevant FreeRTOS calls.  Second, write the low level drivers for the ethernet.

There are some lwIP demos in the FreeRTOS zip file.  Take a look at the AVR32 demo files as the best example as this uses the latest lwIP version.

nobody wrote on Friday, April 27, 2007:

Thank you,

But I only find two directory in FreeRTOS Demo : lwIP_Demo_Rowley_ARM7 and lwIP_MCF5235_GCC . And they used old version of lwip . Can you tell me where the AVR32 demo project is ?

Thank you!

nobody wrote on Friday, April 27, 2007:

Source code FreeRTOS\Demo\lwIP_AVR32_UC3
WEB page http://www.freertos.org/portAVR32.html#webserverexample

nobody wrote on Friday, April 27, 2007:

I downloaded FreeRTOSv4.2.1 and found the lwIP_AVR32_UC3 project , but when I open this project by IAR Embedded Workbench , it generated several errors and cannot open it successfully .

My IAR version is 4.41A

Thanks.

nobody wrote on Friday, April 27, 2007:

From the version number you give I would guess you are trying to open an AVR32 project in the ARM version of the embedded workbench.

nobody wrote on Friday, April 27, 2007:

I open the file at : Demo\AVR32_UC3\AT32UC3A\IAR\rtosdemo.eww
Is it correct ?

nobody wrote on Friday, April 27, 2007:

It is correct if you are using the embedded workbench for AVR32.  Not if you are using the embedded workbench for arm.

nobody wrote on Monday, April 30, 2007:

I think my embedded workbench is for ARM , so I cannot open AVR32 project.

If I used lwip instead of uIP , will the webserver need to re-write ?

It seems lots of works need to do .

sparow wrote on Thursday, May 10, 2007:

Try this : http://mcu.st.com/mcdfiles/STR9_dongle_IAR_alpha_0-6.zip
This is a demo firmware to str9 dongle, it uses lwip + freertos . It shuould help you.