Page 1 of 1

MPU/MMU driver for FreeRTOS

Posted: Thu Oct 11, 2018 8:44 am
by Rui Yin
Hello everyone!

I have been viewed through the source code from IDF, but couldn't find an MMU/MPU supporting driver source code for FreeRTOS. In a website about IDF http://esp32.info/docs/esp_idf/html/d1/ ... icted.html has following documentation “xTaskCreateRestricted() should only be used in systems that include an MPU implementation.” The question here however remains if that MPU implementation respectively “the driver” in this case for FreeRTOS ever implemented? And also is this driver in line with the architect of the FreeRTOS?

does anyone know something about this issue? or is anyone working on this issue? and what exactly do the functions xTaskCreateRestricted() and vTaskAllocateMPURegions() in this case do or deal with MPU internally in the current IDF version?

Re: MPU/MMU driver for FreeRTOS

Posted: Sat Oct 13, 2018 4:15 am
by ESP_Sprite
At the moment, we do not have FreeRTOS MPU support in ESP32. (Note that the MPU fields in the FreeRTOS internals seems to be used here and there, but that is because the Xtensa branch uses it to store coprocessor info in.) The ESP32 does have a MPU of some kind, but we're not sure if it can be made to fit the FreeRTOS paradigm, and if it does there is no clear roadmap on when that's going to appear in ESP-IDF.

Re: MPU/MMU driver for FreeRTOS

Posted: Mon Jan 27, 2020 11:23 pm
by superay
Hi,

Wondering if there is any update on the FreeRTOS-MPU API support on ESP32?

Re: MPU/MMU driver for FreeRTOS

Posted: Tue Jan 28, 2020 1:23 pm
by ESP_Sprite
Not that I am aware.