Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Using MPU feature of Cortex M3 with FreeRTOS

Posted by owaisfazal on October 7, 2013

Hello, I have just started working with FreeRTOS using Arduino DUE as a testing platform. I have read about the MPU feature and how it can be used to protect memory regions. However, it is a bit unclear as to what has to be defined in the normal FreeRTOS source files to use the MPU feature. Secondly, I have read through several posts that FreeRTOS only supports MPU for M3 architecture, can it also be used for M4 as well? Regards.

Using MPU feature of Cortex M3 with FreeRTOS

Posted by richardbarry on October 7, 2013

If your M4 has no FPU, or if it has an FPU but the FPU is never enabled or used, then you can use the same code.

The MPU port is separate to the non-MPU port though.

The non MPU port layer is in FreeRTOSSourceportableGCCARMCM3 The MPU port layer is in FreeRTOSSourceportableGCCARMCM3_MPU


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner