STR9 + lwip

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 ?

STR9 + lwip

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.

STR9 + lwip

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!

STR9 + lwip

Source code FreeRTOSDemolwIP_AVR32_UC3 WEB page http://www.freertos.org/portAVR32.html#webserverexample

STR9 + lwip

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.

STR9 + lwip

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.

STR9 + lwip

I open the file at : DemoAVR32_UC3AT32UC3AIARrtosdemo.eww Is it correct ?

STR9 + lwip

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

STR9 + lwip

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 .

STR9 + lwip

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.