FreeRTOSIPConfigDefaults.h

Hi

I was following the instructions given in readme.txt in
FreeRTOSv202012.00 \ FreeRTOS-Plus \ Source \ FreeRTOS-Plus-TCP \ portable \ NetworkInterface \ STM32Fxx
in order to use the STM32F767 ethernet driver.

On line 24 it is said:
// Defined in FreeRTOSIPConfig.h
I don’t see this file. However I have FreeRTOSIPConfigDefaults.h
Should I use this …Defaults.h instead?

In file FreeRTOSIPConfigDefaults.h the define ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM is made twice.

In line 495:
#ifndef ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM
#define ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM ( 0 )
#endif

and in line 553:
#ifndef ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM
#define ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM 0
#endif

Is this just a mistake or something that requires a bit more wisdom?

thanks

Believe this was resolved in this thread: QUEUE_LENGTH and NUM_NETWORK_BUFFER_DESCRIPTORS

The point 1. it is solved.
But regarding the point 2. why is ipconfigDRIVER_INCLUDED_RX_IP_CHECKSUM checked and defined twice? line 495 and 553.

You’re right. It’s an overlook and could be cleaned up. Doesn’t matter.

Now it makes sense. thanks