Thank you very much, both of you!
I've tested it, it works and I facepalmed myself. I understand the solution.
I somehow assumed that the loop would be more cooperative.
Search found 2 matches
- Tue Sep 03, 2019 6:03 pm
- Forum: ESP32 Arduino
- Topic: xTaskCreatePinnedToCore doesn't work for Core 1
- Replies: 3
- Views: 17733
- Mon Sep 02, 2019 5:09 pm
- Forum: ESP32 Arduino
- Topic: xTaskCreatePinnedToCore doesn't work for Core 1
- Replies: 3
- Views: 17733
xTaskCreatePinnedToCore doesn't work for Core 1
Hi!
I'm currently debugging this piece of code for hours and can't see my fault - does anyone of you maybe have an idea?
static int taskCore = 1;
void coreTask(void *pvParameters) {
String taskMessage = "Task running on core " + xPortGetCoreID();
while (true) {
Serial.println(taskMessage ...
I'm currently debugging this piece of code for hours and can't see my fault - does anyone of you maybe have an idea?
static int taskCore = 1;
void coreTask(void *pvParameters) {
String taskMessage = "Task running on core " + xPortGetCoreID();
while (true) {
Serial.println(taskMessage ...