Search found 7 matches
- Mon Sep 13, 2021 9:05 am
- Forum: ESP32 Arduino
- Topic: Core 1 loop slow down, when WiFi connects
- Replies: 3
- Views: 3260
Re: Core 1 loop slow down, when WiFi connects
And I changed in sdkconfig.h this. And it did not help as well: #define CONFIG_ARDUINO_EVENT_RUNNING_CORE 1 -> 0 #define CONFIG_ARDUINO_EVENT_RUN_CORE1 1 -> #define CONFIG_ARDUINO_EVENT_RUN_CORE0 1 #define CONFIG_ARDUINO_UDP_RUN_CORE1 1 -> #define CONFIG_ARDUINO_UDP_RUN_CORE0 1 #define CONFIG_ESP32_...
- Mon Sep 13, 2021 8:35 am
- Forum: ESP32 Arduino
- Topic: Core 1 loop slow down, when WiFi connects
- Replies: 3
- Views: 3260
Re: Core 1 loop slow down, when WiFi connects
Now I suspecting https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/event-handling.html -> https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_event.html#_CPPv421esp_event_loop_createPK21esp_event_loop_args_tP23esp_event_loop_handle_t But I didnt ...
- Mon Sep 13, 2021 8:24 am
- Forum: ESP32 Arduino
- Topic: How to make vTaskList functional in VS Code and Platformio
- Replies: 4
- Views: 5299
Re: How to make vTaskList functional in VS Code and Platformio
Hi, maybe I am missing something or I was not clear in my question. I use ESP32, Platformio and Arduino framework. I believe, that Arduino has prebuild FreeRTOS as library. And menuconfig I believe is for clean ESP-IDF, not for Arduino based project? But I add -D CONFIG_FREERTOS_VTASKLIST_INCLUDE_CO...
- Sun Sep 12, 2021 8:47 pm
- Forum: ESP32 Arduino
- Topic: How to make vTaskList functional in VS Code and Platformio
- Replies: 4
- Views: 5299
How to make vTaskList functional in VS Code and Platformio
Hi, I am trying to debug my code (without debuger) and I found this function (vTaskList) in FreeRTOS . I was able to run it in VS Code and ESP-IDF with some settings for FreeRTOS, but I can not do that for project in Platformio. I would switch to ESP-IDF, but there I couldnt make functional librarie...
- Sun Sep 12, 2021 12:39 pm
- Forum: ESP32 Arduino
- Topic: Core 1 loop slow down, when WiFi connects
- Replies: 3
- Views: 3260
Core 1 loop slow down, when WiFi connects
Hi, I found issue in my code and I can not find reason, why it is happening. I reduced my project to bare minimum and it still happening. I call WiFi.begin(ssid, password); and after second or two, when wifi connections is established (ESP32 is STA and connect to my home AP) Main loop lasts 1930 us,...
- Sun Sep 12, 2021 12:07 pm
- Forum: ESP32 Arduino
- Topic: Webserver running on Core0 issues
- Replies: 16
- Views: 25625
Re: Webserver running on Core0 issues
Did you try the ESPAsyncWebServer by menodev with this setup? Yes, this is exactly what I am doing, I am using ESPAsyncWebServer and it works great. My main loop last in avg 10us, max loop length is 81us and in same time I can be connected to webserver and read every 10 ms data via $.get from javas...
- Fri Sep 10, 2021 7:12 am
- Forum: ESP32 Arduino
- Topic: Webserver running on Core0 issues
- Replies: 16
- Views: 25625
Re: Webserver running on Core0 issues
Hi, I had similar issue and solution for that is CONFIG_ASYNC_TCP_RUNNING_CORE=0. Then all TCP things run on CORE 0 and my main loop on CORE 1 is not affected at all by webserver thinks.