That's what I thought, therefore I set it to core 0, as I said in the end of my last reply. Maybe that doesn't work, but I don't see any reason why.lbernstone wrote: Your task is running your code, not the whole tcpip stack. WiFi is running on the events core, which defaults to core1.
Search found 5 matches
- Sat Sep 21, 2024 8:25 pm
- Forum: ESP32 Arduino
- Topic: WiFi task on core 0 halts task on core 1
- Replies: 9
- Views: 3346
Re: WiFi task on core 0 halts task on core 1
- Sat Sep 21, 2024 6:46 pm
- Forum: ESP32 Arduino
- Topic: WiFi task on core 0 halts task on core 1
- Replies: 9
- Views: 3346
Re: WiFi task on core 0 halts task on core 1
Alright, I have an update. I managed to minimize the problem to some extent. The code now breaks out of the while loop if the client doesn't send any new characters (of a HTTP request). This leads to the code not blocking for the whole timeout period, which is not expected behaviour, but just for th...
- Fri Sep 20, 2024 2:03 am
- Forum: ESP32 Arduino
- Topic: WiFi task on core 0 halts task on core 1
- Replies: 9
- Views: 3346
Re: WiFi task on core 0 halts task on core 1
Put a vTaskDelete(NULL); as the last line in your setup(). Your suggestion unfortunately didn't change anything visibly, but still thank you for the command, I wasn't aware of that. I'm not sure, but I think my set priorities for the tasks i started myself should make it so that the loop task gets ...
- Wed Sep 18, 2024 10:11 pm
- Forum: ESP32 Arduino
- Topic: WiFi task on core 0 halts task on core 1
- Replies: 9
- Views: 3346
Re: WiFi task on core 0 halts task on core 1
Would shortening the code help? How is it possible to not get any answer in one of the biggest categories on the forum literally centering on the esp32? I would have guessed that I'm not the only one trying multithreading on the esp32, and to me, my application seems incredibly common...how would yo...
- Sat Sep 14, 2024 1:58 pm
- Forum: ESP32 Arduino
- Topic: WiFi task on core 0 halts task on core 1
- Replies: 9
- Views: 3346
WiFi task on core 0 halts task on core 1
Hello all, I'm trying to use my ESP32 (WROOM-DA) to control WS2812 and SK6812 led strips with the Neopixel library. I want to be able to control the animations etc via a web server, similar to projects like WLED. I program the ESP with the Arduino IDE. Right now I essentially create two tasks, one f...