xTaskCreatePinnedToCore not execute on core1
Posted: Fri Oct 01, 2021 8:18 pm
Dear,
I would like to use core1 and core2 with Thread with ESP32-C3, i define:
Task1 and Task2 is executed on core0, have you an idea of my problem?
Thank you.
I would like to use core1 and core2 with Thread with ESP32-C3, i define:
Code: Select all
xTaskCreatePinnedToCore(
Task1code, /* Task function. */
"Task1", /* name of task. */
10000, /* Stack size of task */
NULL, /* parameter of the task */
1, /* priority of the task */
&Task1, /* Task handle to keep track of created task */
0); /* pin task to core 0 */
xTaskCreatePinnedToCore(
Task2code, /* Task function. */
"Task2", /* name of task. */
10000, /* Stack size of task */
NULL, /* parameter of the task */
1, /* priority of the task */
&Task2, /* Task handle to keep track of created task */
1); /* pin task to core 1 */
Task1 and Task2 is executed on core0, have you an idea of my problem?
Thank you.