1
votes

I want to allow a network communication via TCP/IP using LwIP stack in FREERTOS. I am using stm32f4 discovery board as my device with LCd interfacing and want to communicate with my pc. I am new to LwIP. Does anybody have source code or can hep me with any suggestions. Thank you

1
what does ST provide with the board/chip in question with respect to networking? or are you adding this on? what chip are you using, what network interface, what have you tried, where did it fail?old_timer
I enabled ethernet in RMII mode and lwip in stm32 cube. I set ip address for the device. Now how can i continue with it?Atten12

1 Answers

1
votes

There is a reference lwIP/FreeRTOS integration in the FreeRTOS Interactive site but note it is very old, and not all the code in it is relevant any more (for example it uses a pre-release of FreeRTOS+CLI that is not compatible with the released version). Hopefully it will be useful to you as a template though.

There is also a FreeRTOS+TCP (not lwIP) example for the STM32F4 which might provide a viable alternative - depending on your application - or at least provide you with a reference Ethernet driver that could be adapted for use with lwIP.