ESP32 with FreeRTOS MPU

superay
Posts: 2
Joined: Mon Jan 27, 2020 10:26 pm

ESP32 with FreeRTOS MPU

Postby superay » Tue Jan 28, 2020 3:39 am

Hi guys,

I've been working on a small project involving FreeRTOS-MPU support and have recently moved to ESP32. From viewtopic.php?t=7622 it seems like there is no FreeRTOS-MPU support for ESP32 unless it has been added recently (which does not seem to be the case). I've noticed MPU pointer being used as a pointer to maintain coprocessor's area in stack (also mentioned in the reply of the thread above. Can be seen in the definition of xMPU_SETTINGS in portmacro.h) which makes implementing FreeRTOS-MPU specific features myself complicated. In this case, what are the options to make use of the MPU/MMU on ESP32, probably talking to the registers in charge of the MPUs directly from the tasks? Are there any updates on having the features in ESP-IDF? If not, what is/are the reason(s) for not having it implemented?

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

Re: ESP32 with FreeRTOS MPU

Postby ESP_Sprite » Tue Jan 28, 2020 1:20 pm

You are right. The ESP32 does have a MPU, but it is somewhat limited and not supported in esp-idf at this moment.

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP32 with FreeRTOS MPU

Postby Ritesh » Thu Jul 02, 2020 12:27 pm

ESP_Sprite wrote:
Tue Jan 28, 2020 1:20 pm
You are right. The ESP32 does have a MPU, but it is somewhat limited and not supported in esp-idf at this moment.
Hello,

So would you please let us know like when it can be available into IDF to use it?
Regards,
Ritesh Prajapati

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

Re: ESP32 with FreeRTOS MPU

Postby ESP_Sprite » Thu Jul 02, 2020 1:53 pm

At the moment, there are no plans to implement support for it in ESP-IDF.

Who is online

Users browsing this forum: antonjung, MicroController and 155 guests