Page 1 of 1

how to reserve one core

Posted: Wed Oct 31, 2018 12:54 pm
by iw2lsi
Hi all,

is there a way to reserve one of the two cores of the ESP32 for a specific group of tasks or even for a single task ?

I know that I can setup freeRTOS to use the 1st core (number 0) but then I suppose I'll not be able to pin a task to the 2nd one... on the other hand, if I enable freeRTOS to use both cores, how can I prevent a library task (ie MQTT, HTTP etc) to use the 2nd one ?

The idea is of course to do some time-critical stuff on core 1 and keep all the low-priority jobs on task 0.

thanks for any ideas

Giampaolo

Re: how to reserve one core

Posted: Tue Nov 06, 2018 12:57 pm
by chegewara