-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using C++ Vector as container for display buffer #43
Comments
…writing a pixel in row 103 when display.height is 100 pixels max
With the display buffer stored in a vector, when size is > 65536, it just restarts after throwing this exception:
My measurements before and after initializing the vector are: Probably out of RAM, only doable initializing the buffer in SPI Ram, WROVER or similar ESP32. |
This works but it was just a test. Don't think is the wisest idea to use Vectors for a display buffer. To summarize:
|
Test using Vectors instead of static buffers. The benefit is that Vectors can be redimensioned post instantiation. That way Bluethooth/WiFi provisioning can take more RAM at the start.
branch: test/vector Related to #42
Read https://github.com/martinberlin/cale-idf/wiki/CalEPD-news
The text was updated successfully, but these errors were encountered: