Re: Static and Restricted task creation pinned to core
Posted: Thu Sep 18, 2025 1:37 pm
Thanks for your answer the confusion comes because function is in FreeRtos IDF manual. When I started to write the code I will ask any doubt.Not sure how clear I must make this: ESP-IDF DOES NOT INCLUDE MPU SUPPORT AND DOES NOT SUPPORT xTaskCreateRestricted().
The read only is an attribute of FreeRtos x taskcreate restricted. In it can be allocated 3 memory regions with
As is shown in FreeRtos IDF
Systems that include MPU support can alternatively create an
MPU constrained task using xTaskCreateRestricted().
In general, assume that 1. all memory in the ESP32 is accessible by any task on any core, and 2. if you have multiple tasks (on the same or different cores) you need to implement thread safety (using muxes, semaphores, queues, stream buffers) yourself.
If you actually post what you want to achieve (rather than how you think you can solve it), we can probably help you find some way to do it in a way that aligns with what ESP-IDF expects.
Attached is the screenshot of the manual