Reusing memory buffers idea #659
frankcohen
started this conversation in
General
Replies: 2 comments 4 replies
-
240x240x2=115.2k memory, how can you used up 8M memory? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I like to do EVERYTHING in Strings. :-D no, not really. ESP32-S3 memory starts as: My display uses Arduino_GFX for 240 x 240 pixels, 115200 bytes |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing an entertaining experience using Arduino_GFX, JPEGDEC, NAND/SD, on ESP32-S3 (8 MBytes), and a round TFT display with a GC9A01 controller. Half of the time it streams MJPEG images to the display. The other time it does sprite animation using Arduino_Canvas. I can't do both with the current set-up, I run out of memory.
I'm thinking of creating a branch of Arduino_GFX that lets me do the malloc() buffer creation outside. In this way I could reuse the memory I allocate for Arduino_Canvas for the JPEGDEC decoder when I'm only streaming.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions