# FreeRTOS on a LPC1788 with MPU

tamirmichael wrote on Monday, June 11, 2012:

Hello,

I have read the FreeRTOS specific guide for the LPC17xx so I have a basic understanding how to do it. However, the guide does not indicate the need to define “portUSING_MPU_WRAPPERS” (which seems to be required so that each TCB maintains the required MPU configuration) and when I do define it, the compiler generates this report:

…\common\src\FreeRTOS\FreeRTOSV7.1.0\Source\include\queue.h(144): warning:  #47-D: incompatible redefinition of macro “xQueueCreate” (declared at line 91 of “…\common\src\FreeRTOS\FreeRTOSV7.1.0\Source\include\mpu_wrappers.h”)

I am obviously missing something. Can somebody help?