Hello, I just wanted to show this piece of warning that I’m constantly seeing with the FreeRTOS-TCP libraries.
Hello Maty - can you please provide some more information about which branch/tag/commit hash you are on and the compiler along with version you are using. Thank you.
Hi Nikhil, I downloaded the latest FreeRTOS not too long ago, directly from the FreeRTOS website. It says FreeRTOS Kernel V10.4.6. at the top inside FreeRTOS.h. Inside of FreeRTOS_Sockets.c it is FreeRTOS+TCP V2.4.0.
I am using Rowley CrossWorks which is using GCC 11.3 Release 1.
Looks like the following part of the code in FreeRTOS_IP_Private.h is either not visible to your compiler or not enabled:
#if ( ipconfigSUPPORT_SELECT_FUNCTION == 1 ) || ( ipconfigUSE_TCP == 1 ) || ( ipconfigDNS_USE_CALLBACKS == 1 ) extern ipDECL_CAST_PTR_FUNC_FOR_TYPE( ListItem_t ); extern ipDECL_CAST_CONST_PTR_FUNC_FOR_TYPE( ListItem_t ); #endif
Could you please share your
Hey @tony-josi-aws, I really apologize for the long delay. It’s been quite hectic. I checked my
FreeRTOSIPConfig.h and I don’t have any of those defined. We use the FreeRTOS-Plus strictly only for UDP packets.
FreeRTOSIPConfig.h (19.1 KB)
Hey @Maty ,
This warning has been fixed in the latest versions of FreeRTOS-Plus-TCP. Please update to the latest to get rid of the warning.
--------------- EDIT - More details ----------------
Thanks for your help!