FreeRTOS+TCP on LCP1768 do I need FreeRTOS+IO

Hi For a project I am working on I need to add TCP/IP to FreeRTOS. I am using Keil to program a LPC1768 (Keil MCB1700 evaluation board). The versions I use are FreeRTOS V10.0.0 and FreeRTOS+TCP V2.0.1. I followed the instructions from “Adding the TCP/IP Source Files to an RTOS Project”. https://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusTCP/TCPNetworkingTutorialAddingSource_Files.html I started from a working project that just blinks a led. After adding the files as described in the instructions (without editing code) I tried to build the project again and now I get an error from NetworkInterface.c saying it cannot include “FreeRTOS_IO.h”. Do I really need to add FreeRTOS+IO to use the TCP/IP stack? If so is there any guide on how to properly add it? Because I tried to add the files to my project but I only get more errors for missing files. Is there a Keil demo project using FreeRTOS+TCP I can use to start from? I searched for it but could only find demo’s using other TCP/IP stacks. Thanks Toon

FreeRTOS+TCP on LCP1768 do I need FreeRTOS+IO

Hi Toon, I’m not sure why the driver wants to include FreeRTOS_IO.h. What happens if you remove that line?

FreeRTOS+TCP on LCP1768 do I need FreeRTOS+IO

Hi Hein First of all thanks for your response and sorry I didn’t reply sooner. At the end of last week the post didn’t show up for me so I assumed I did something wrong posting it and only today started working on this part again. It looks like this line can be deleted. However I’m having more problems with the Networkinterface.c for LPC17xx from the source code download for FreeRTOS v10.0.0 and v10.0.1. The file included “FreeRTOSUDPIP.h” I switched this out with “FreeRTOSIP.h” & “FreeRTOSIP_Private.h” by doing this I got rid of some but not all errors. The errors that still remain are: “configMACINTERRUPTPRIORITY” is undefined NetworkInterface.c declaration “BaseTypet xNetworkInterfaceOutput( NetworkBufferDescriptort * const pxNetworkBuffer )” is incompatible with “BaseTypet xNetworkInterfaceOutput(NetworkBufferDescriptort *const, BaseType_t)” in NetworkInterface.h “xNETWORK_BUFFER” has no field “pucBuffer” Any suggestion on how to solve this? Thank you for your help Toon

FreeRTOS+TCP on LCP1768 do I need FreeRTOS+IO

I’m not sure yet why you encounter those compiler errors. Are you using the older +UDP or +TCP? Just to make sure: the kernel and the latest FreeRTOS+TCP sources can be downloaded from github. The +TCP and +FAT demo applications must still be downloaded from freertos This ZIP file will also contain older versions of the kernel and the libraries: just ignore them.

FreeRTOS+TCP on LCP1768 do I need FreeRTOS+IO

Hi Hein I was using the files from https://sourceforge.net/projects/freertos/files/FreeRTOS/V10.0.1/ The github files seem to be the same, but I switched just to be sure. After doing this I stil get the same errors as in the beginning. The NetworkInterface for lpc17xx seems to be the only one that wants to include FreeRTOSIO.h and FreeRTOSUDP_IP.h. Thanks anyway for the suggestion it was worth a try. Toon

FreeRTOS+TCP on LCP1768 do I need FreeRTOS+IO

Let’s find an asnwer: could you email me on “hein [at] htibosch [point] net” ?