Hi,
I recently upgraded FreeRTOS-Plus-TCP from v3.1.0 to v4.2.2. The FreeRTOS kernel is v10.0.0. While using 3.1.0, I would define ipconfigIP_TASK_PRIORITY as ( (configMAX_PRIORITIES - 2) | portPRIVILEGE_BIT). But after the upgrade, when I compile I am getting an error which says IP task priority cannot be greater than (configMAX_PRIORITIES - 1). Not setting portPRIVILEGE_BIT resolves the issue though. Is there a different way to run the IP task as a privileged task? It seems like the error is being thrown by the following line in FreeRTOSIPConfigDefaults.h. When I tried running IP task by removing the portPRIVILEGE_BIT but it causes prefetch abort.
#if ( ipconfigIP_TASK_PRIORITY > ( configMAX_PRIORITIES - 1 ) ) #error ipconfigIP_TASK_PRIORITY must be at most configMAX_PRIORITIES - 1 #endif