Hello,
I'm using ESP32-S3 for a project, and the FreeRTOS-MPU features would be of great use.
While trying to use the "xTaskCreateRestricted", however, it appears to be undefined. Looking into the task.c file, this function is indeed not compiled due to the macro portUSING_MPU_WRAPPERS. Does ESP32-S3 support these features? Some extra configuration is needed? If not, is there any other API developed to use the MPU?
Thanks in advance,
Marcelo.
Support for FreeRTOS-MPU functions in ESP32-S3
-
- Posts: 3
- Joined: Wed Aug 23, 2023 2:02 pm
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: Support for FreeRTOS-MPU functions in ESP32-S3
No, we do not support the MPU functionality of FreeRTOS. Some features of the MPU (e.g. no-executable data / non-writable code) are implemented by ESP-IDF itself, but there's no concept of privileged tasks. We have code for privilege separation, but this is still beta-quality and I'm not sure if it compiles for current ESP-IDF versions.
-
- Posts: 9
- Joined: Thu Nov 16, 2017 9:09 pm
Re: Support for FreeRTOS-MPU functions in ESP32-S3
@ESP_Sprite
Do you know if there is currently a stable/non experimental/supported way on esp32-s3 to take advantage of the separation features?
For example, say I want to run a complicated parser isolated, at the moment all I could find was the esp privilege Separation framework which has not been updated for a couple of years.
Is the separated flash partition for the code a requirement for an separated task?
thank you
Do you know if there is currently a stable/non experimental/supported way on esp32-s3 to take advantage of the separation features?
For example, say I want to run a complicated parser isolated, at the moment all I could find was the esp privilege Separation framework which has not been updated for a couple of years.
Is the separated flash partition for the code a requirement for an separated task?
thank you
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: Support for FreeRTOS-MPU functions in ESP32-S3
Not to my knowledge.ClockToshi wrote: ↑Mon Sep 23, 2024 7:52 pmDo you know if there is currently a stable/non experimental/supported way on esp32-s3 to take advantage of the separation features?
Who is online
Users browsing this forum: No registered users and 311 guests