2020-01-02 05:45 AM
I'm new to FreeRTOS and STM32F4xx processors and therefore looking for some Sample FreeRTOS TCP/IP projects to aid my learning.
Regards
Nasir
2020-01-02 10:58 AM
There are many examples in the STM32Cube_FW_F4_xx libraries (when you install the Cube libraries)
most of the stuff using TCP/IP uses FreeRTOS as it make life easier.
I assume you have an F4 ir F7 with a built in PHY and Ethernet socket - nearly all the examples use this, rather than bolt on modules.
(install Agent Ransack - fantastic search tool - and look for key words like tcp FreeRTOS )
eg
STM32Cube_FW_F4_V1.24.0\Projects\STM324xG_EVAL\Applications\LwIP\LwIP_UDP_Echo_Server
STM32Cube_FW_F4_V1.24.0\Projects\STM324x9I_EVAL\Applications\LwIP\LwIP_UDPTCP_Echo_Server_Netconn_RTOS
They may not be specific to your F4, but its never hard to convert from one to another.
Try Creating a CubeMX project with FreeRTOS and TCP/IP enables, then look at the examples and copy the relevent code in.
Pay partucular attention to the FreeRTOSConfig and lwipopts.h config headers - get these wrong an things will nvever work properly.
Have fun!