Is the freertos version 11.0.1 mpu_wrappers.c available to use ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is the freertos version 11.0.1 mpu_wrappers.c available to use ?

734 Views
Jim-Li
Contributor II

Recently, I want to upgrade my project with new version of SDK, from version 2.14 to 2.16. In the upgrade of sdk, it will upgrade freertos from version 10.5.1 to 11.0.1. I encountered HardFault when using mpu_wrappers_v2.c in version 11.0.1. However, the HardFault doesn't exist in using mpu_wrappers.c in version 11.0.1. 

Hence, I wonder if it is available for me to use mpu_wrappers.c in version 11.0.1 since I found that the wrapper is nearly the same comparing with version 10.5.1.

Also, in the upgrade of rtos version, it made some freertos system call to privilege function, like xEventGroupCreateStatic. But in mpu_wrappers.c, it still raise its privilege no matter what current privilege it is. It's quite weird that since it is already a privilege function but in mpu_wrappers.c, it raise the privilege again. Thus, I want to know whether mpu_wrappers.c is available and good to use in version 11.0.1.

The SDK I use is from the following website :SDK Builder | MCUXpresso SDK Builder

0 Kudos
Reply
3 Replies

637 Views
Jim-Li
Contributor II

Hi @EdwinHz 
I use board FRDM-MCXN236.
FRDM-MCXN236 Board User Manual

BR,
Jim

0 Kudos
Reply

632 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Jim-Li,

There are a few changes on mpu_wrappers_v2 according to the V10.6.2 release of FreeRTOS: FreeRTOS Release History - FreeRTOS™

However, it should be OK to use the previous 10.5.1 instead of the 11.0.1 one.

BR,
Edwin.

0 Kudos
Reply

710 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Jim-Li,

Could you please share what part number you are using as well, in order to further investigate with the similar device as well.

BR,
Edwin.

0 Kudos
Reply