studio
studio copied to clipboard
[Flow] Allocating memory for Flow execution queue
Is your feature request related to a problem? Please describe. Need to be able to dynamically allocate memory for Execution queue using lv_malloc, or provide the ability to specify an attribute for g_queue
Describe the solution you'd like In the first case, it will be necessary to rework the flow initialization, but I am not strong in this area.
In the second case, you can add an additional parameter to the build settings, like "Execution queue size" and "Expression evaluator stack size", for example "Execution queue RAM attribute". Then you get the following:
The definition of EXT_RAM_BSS_ATTR is valid for esp32 and allows to place this queue in .ext_ram.bss section, i.e. PSRAM