FreeRTOS with MPU

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

FreeRTOS with MPU

1,646 次查看
yevgengyl
Contributor II

Hello !

Could it be possible to have example for FRDM-K82F board and FreeRTOS, where tasks are created with MPU protection ?

I have investigated latest SDK v2.4 and haven't found nothing about it.

Regards,

Eugene

0 项奖励
回复
2 回复数

1,381 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Eugene:

The MPU API interface is defined in

devices/[MCU]/drivers/fsl_sysmpu.c

devices/[MCU]/drivers/fsl_sysmpu.h

There is a SYSMPU example defines protected/unprotected memory region for the core access

boards\frdmk82f\driver_examples\sysmpu

These APIs can also used in a FreeRTOS projects.

Regards

Daniel

0 项奖励
回复

1,381 次查看
yevgengyl
Contributor II

Hi Daniel !

Yes, I'm looking these examples and APIs. But it take time and some testing effort for create RTOS_MPU port.

I expect NXP have done this implementation already and it can be part of SDK.

Could you confirm if MPU enabled RTOS is not exists on your side yet ?

Regards,

Eugene

0 项奖励
回复