FreeRTOS with MPU

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

FreeRTOS with MPU

931 Views
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 Kudos
2 Replies

666 Views
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 Kudos

666 Views
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 Kudos