# FreeRTOS on a LPC1788 with MPU

**URL:** <https://forums.freertos.org/t/freertos-on-a-lpc1788-with-mpu/5413>\
**Category:** Kernel\
**Created:** [June 11, 2012, 9:05am UTC](https://forums.freertos.org/t/freertos-on-a-lpc1788-with-mpu/5413 "2012-06-11T09:05:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 11, 2012, 9:05am UTC](https://forums.freertos.org/t/freertos-on-a-lpc1788-with-mpu/5413/1 "2012-06-11T09:05:36Z")

</div>

**[tamirmichael](https://sourceforge.net/u/tamirmichael/)** wrote on [Monday, June 11, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/f017ec03/#61ab):

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:&nbsp; #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?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [June 11, 2012, 10:56am UTC](https://forums.freertos.org/t/freertos-on-a-lpc1788-with-mpu/5413/2 "2012-06-11T10:56:15Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Monday, June 11, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/f017ec03/#f7a9):

Please use FreeRTOS V7.1.1 - you should find that is ok.&nbsp; Search for “MPU” in [http://www.FreeRTOS.org/History.txt](http://www.FreeRTOS.org/History.txt) to see a note about this.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 11, 2012, 11:26am UTC](https://forums.freertos.org/t/freertos-on-a-lpc1788-with-mpu/5413/3 "2012-06-11T11:26:37Z")

</div>

**[tamirmichael](https://sourceforge.net/u/tamirmichael/)** wrote on [Monday, June 11, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/f017ec03/#d150):

OK, thanks.
