MPU/MMU driver for FreeRTOS

Rui Yin
Posts: 1
Joined: Thu Oct 11, 2018 7:54 am

MPU/MMU driver for FreeRTOS

Postby Rui Yin » Thu Oct 11, 2018 8:44 am

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?

ESP_Sprite
Posts: 1935
Joined: Thu Nov 26, 2015 4:08 am

Re: MPU/MMU driver for FreeRTOS

Postby ESP_Sprite » Sat Oct 13, 2018 4:15 am

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.

Who is online

Users browsing this forum: No registered users and 10 guests