esp-privilege-separation icon indicating copy to clipboard operation
esp-privilege-separation copied to clipboard

ESP32-C6 / IDF5 (US-109)

Open jbd0101 opened this issue 1 year ago • 2 comments

Hi, I am experimenting with the 2 worlds system with an esp32-S3 and IDF version 4.4.3. (For now, I am impressed by the possibilities that this system opens up). However, I faced some issues when trying to use it on a esp32-c6. Is it planned to support the IDF version 5.x and newer versions of esp32 (for example, esp32-c6) ? If not, do you have suggestions in order to make it compatible ?

Concerning the performance impact of a VFS layer, Could you confirm that that each read / write operation will behave as a system call (thus 127 CPU cycles ) ?

Thanks in advance Jean-Christophe Bauduin

jbd0101 avatar Mar 15 '24 11:03 jbd0101

@jbd0101

Sorry that somehow I didn't get notification for this issue.

However, I faced some issues when trying to use it on a esp32-c6. Is it planned to support the IDF version 5.x and newer versions of esp32 (for example, esp32-c6) ?

About the newer version, following pointers can be helpful for ESP32-C3 support with v5.2 IDF: https://github.com/mahavirj/esp-privilege-separation/tree/feature/esp_idf_v5.2 https://github.com/mahavirj/esp-idf/tree/feature/esp_privilege_separation_idf_5_2

Long term plan is to merge the patches in IDF tree itself, and then expose some config option.

Regarding ESP32-C6, we haven't yet planned for the support. But we can evaluate it further. Any specific requirements you have here?

Concerning the performance impact of a VFS layer, Could you confirm that that each read / write operation will behave as a system call (thus 127 CPU cycles ) ?

Yes, that is true.

Hope this helps!

mahavirj avatar Jun 26 '24 11:06 mahavirj

Hi, thanks for your reply :-) I'm happy to see that PSF is still in (active) development, I used it for my master thesis and it is very promising . Concerning the C6, I think that it doesn't include the 2 world controller, thus will it be possible to integrate it elegantly ? The idea would be to use the C6 and PSF for a research , however I can work with a S3/C3 too.

Have a nice day.

jbd0101 avatar Jul 02 '24 13:07 jbd0101