how to reserve one core

iw2lsi
Posts: 15
Joined: Wed Oct 24, 2018 11:48 am

how to reserve one core

Postby iw2lsi » Wed Oct 31, 2018 12:54 pm

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

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: how to reserve one core

Postby chegewara » Tue Nov 06, 2018 12:57 pm


Who is online

Users browsing this forum: No registered users and 107 guests