You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am testing the sprite examples with WT32-SC01-Plus, forcing the allocation from PSRAM by setting sprites[i].setPsram(true); just before calling sprites[i].createSprite(...);.
There's a speed increase when adding | MALLOC_CAP_DMA to heap_alloc_psram(...), in file lgfx/v1/platforms/esp32/common.hpp at line 81, can you please include if no adverse side effects.
EDIT: sorry in my test case the allocation failed and it went to the branch that calls heap_alloc_dma(length);, which is in internal SRAM, so please ignore.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am testing the sprite examples with WT32-SC01-Plus, forcing the allocation from PSRAM by setting
sprites[i].setPsram(true);
just before callingsprites[i].createSprite(...);
.There's a speed increase when adding
| MALLOC_CAP_DMA
toheap_alloc_psram(...)
, in filelgfx/v1/platforms/esp32/common.hpp
at line 81, can you please include if no adverse side effects.EDIT: sorry in my test case the allocation failed and it went to the branch that calls
heap_alloc_dma(length);
, which is in internal SRAM, so please ignore.Beta Was this translation helpful? Give feedback.
All reactions