Open filzek opened 1 month ago
+1
Maybe allocate websocket task stack also from selected RAM by using xTaskCreateWithCaps
?
@filzek Thank you for your contribution. However, the changes are causing compilation issues in our CI pipeline. Please refer to the details here: https://github.com/espressif/esp-protocols/actions/runs/9708563633/job/26876119855?pr=586
@filzek Thank you for your contribution. However, the changes are causing compilation issues in our CI pipeline. Please refer to the details here: https://github.com/espressif/esp-protocols/actions/runs/9708563633/job/26876119855?pr=586
changes made to the original file as requested!
Enable Usage of External or Specific Memory Types in WebSocket
Feature: Added a memory_type directive to esp_websocket_client_config_t to allow usage of various memory types in heap_caps_malloc and heap_caps_calloc.
Default Handling: If memory_type is not defined or is invalid, MALLOC_CAP_DEFAULT is used. HTTP Auth Update: Updated http_auth_basic function to use the specified memory region.
All relevant functions have been updated to utilize the new memory_type configuration.
Now can set any memory CAPS region such as MALLOC_CAP_SPIRAM and others.