studio icon indicating copy to clipboard operation
studio copied to clipboard

[Flow] Allocating memory for Flow execution queue

Open RamasyaR opened this issue 1 year ago • 0 comments

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: Image Image

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

RamasyaR avatar Feb 07 '25 12:02 RamasyaR