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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

760 次查看
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

标记 (4)
0 项奖励
回复
3 回复数

663 次查看
Jim-Li
Contributor II

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

BR,
Jim

0 项奖励
回复

658 次查看
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 项奖励
回复

736 次查看
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 项奖励
回复