du-ino icon indicating copy to clipboard operation
du-ino copied to clipboard

Display buffer occupies a large amount of memory

Open ezod opened this issue 3 years ago • 1 comments

The entire OLED display buffer is currently stored in memory for simplicity and performance. However, this consumes a large proportion of the limited (2K) memory available on the ATMEGA328P. As it is possible to read from the buffer stored on the SH1106 itself, it may be possible to cache a subset of pages instead. Ideally, this would have zero performance impact in the case where the subset of pages is the whole display. Also, ideally, this would not require significant changes to the low-level display API.

ezod avatar May 16 '22 17:05 ezod

Could potentially be solved by porting everything to U8g2.

ezod avatar Aug 05 '22 14:08 ezod