# FreeRTOS+MPU on CortexM4

**URL:** <https://forums.freertos.org/t/freertos-mpu-on-cortexm4/6891>\
**Category:** Kernel\
**Created:** [December 5, 2017, 5:07pm UTC](https://forums.freertos.org/t/freertos-mpu-on-cortexm4/6891 "2017-12-05T17:07:46Z")\
**Posts on this page:** 2\
**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:** [December 5, 2017, 5:07pm UTC](https://forums.freertos.org/t/freertos-mpu-on-cortexm4/6891/1 "2017-12-05T17:07:46Z")

</div>

**[swichu91](https://sourceforge.net/u/swichu91/)** wrote on [Tuesday, December 05, 2017](https://sourceforge.net/p/freertos/discussion/382005/thread/4c756874/#1e3b):

Hello,

I would like to share with you application demo of FreeRTOS+MPU working on STM32F4 Discovery. It should be also applicable to Cortex M3 if using soft-fpu. There is not much info about porting it except one topic somewhere and poor FreeRTOS documentation(no real example except one for simulator without proper linker script).

Anyway here is the link to repo containing example:  
[https://github.com/swichu91/cortexm4\_mpu](https://github.com/swichu91/cortexm4_mpu)

Let me know if there are any problems and please feel free to use it !

It would be great if this demo was included into official repository 🙂

Mateusz

---

<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:** [December 5, 2017, 5:16pm UTC](https://forums.freertos.org/t/freertos-mpu-on-cortexm4/6891/2 "2017-12-05T17:16:05Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, December 05, 2017](https://sourceforge.net/p/freertos/discussion/382005/thread/4c756874/#1e3b/935b):

Thanks for sharing.
