LIFsCode / ELOC-3.0

Firmware for ELOC 3.0 Hardware
MIT License
2 stars 3 forks source link

LOW PRIORITY: Check for using shared stack for logging #43

Open LIFsCode opened 7 months ago

LIFsCode commented 7 months ago

Currently logging requires quite a lot of stack, which leads to high stack reservation for all tasks.

@OOHehir: Just in case we run into problems with the overall memory for tasks this can be maybe avoided by using a shared stack for the redirected vprintf function: see here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/system/esp_function_with_shared_stack.html

This does not require immedeate action, it's rather a reminder