MPU: EWARM warnings

Hi, using the MPU feature within the FreeRTOS v10, I’m getting the following warnings from IAR/EWARM IDE: ~~~ Warning[Be006]: possible conflict for segment/section “privilegeddata”: FreeRTOSSourcetimers.c 137 variable “xTimerQueue” (declared at line 137 of “FreeRTOSSourcetimers.c”) is an initialized variable (2 more variables like this) variable “xActiveTimerList1” (declared at line 131 of “FreeRTOSSourcetimers.c”) is a zero-initialized variable (3 more variables like this) tasks.c
Warning[Be006]: possible conflict for segment/section “privileged
data”: FreeRTOSSourcetasks.c 348 variable “pxCurrentTCB” (declared at line 348 of “FreeRTOSSourcetasks.c”) is an initialized variable (14 more variables like this) variable “pxReadyTasksLists” (declared at line 351 of “FreeRTOSSourcetasks.c”) is a zero-initialized variable (7 more variables like this) ~~~ any Idea how to fix them? regards Haithem.

MPU: EWARM warnings

any Idea how to fix them?
I will have to take a look and report back.

MPU: EWARM warnings

Ok – just coming to test this and can’t see an official IAR port for FreeRTOS MPU – is this a project you created yourself?

MPU: EWARM warnings

well! actually this is officially released in the STM32 Cube FW F4, but based on FreeRTOS 9, but when integrating it with FreeRTOS 10, I’m getting the abovementioned warnings.

MPU: EWARM warnings

Could you please have a look at it? thanks in advance.

MPU: EWARM warnings

STM32 Cube is NOT the official release, but a modified version by ST Micro. You might check if their version 9 was ‘stock’ or if it was modified.

MPU: EWARM warnings

Turns out there is a FreeRTOS MPU port for IAR in the official SVN repository, but there doesn’t seem to be a demo project for it, hence I missed it when I looked the first time, and I don’t recall how it was tested.

MPU: EWARM warnings

O.K., but what is strange is that the warnings are thrown from the FreeRTOS official source code not from a modified part.(BTW the FreeRTOS 9 doesn’t have any warning in the Cube FW) regards haithem.