Quality RTOS & Embedded Software

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




Loading

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

Regards.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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