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?
ESP32 with FreeRTOS MPU
-
- Posts: 9040
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 with FreeRTOS MPU
You are right. The ESP32 does have a MPU, but it is somewhat limited and not supported in esp-idf at this moment.
Re: ESP32 with FreeRTOS MPU
Hello,ESP_Sprite wrote: ↑Tue Jan 28, 2020 1:20 pmYou are right. The ESP32 does have a MPU, but it is somewhat limited and not supported in esp-idf at this moment.
So would you please let us know like when it can be available into IDF to use it?
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9040
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 with FreeRTOS MPU
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