A warning is triggered while compiling the FreeRTOS project in the MPU port, indicating the redundant declaration of the ‘vTaskAllocateMPURegions’ function (mpu_prototypes.h:125:6: warning: redundant redeclaration of ‘vTaskAllocateMPURegions’ [-Wredundant-decls]). And followed by the warning “include/task.h:755:6: note: previous declaration of vTaskAllocateMPURegions’ was here void vTaskAllocateMPURegions( TaskHandle_t xTaskToModify,”.
Based on the comment on mpu_prototypes.h (When the MPU is used the standard (non MPU) API functions are mapped to equivalents that start “MPU_”, … ), should the vTaskAllocateMPURegions() function be MPU_vTaskAllocateMPURegions()?