InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Batch display command arguments

Open mark9064 opened this issue 1 year ago • 1 comments

  • Address window and scrolling arguments are now sent in a single multi-byte transaction rather than multiple single-byte transactions
    • Faster: much less overhead due to the workaround required to send single bytes
    • Display update speed is mostly limited by the SPI bus so using the bus more efficiently helps significantly
  • Improved a few other documentation bits inside the display driver

This wasn't really possible without the fixing the SPI race conditions, but with #2046 merged we can enjoy this speed up now

mark9064 avatar May 06 '24 22:05 mark9064

Build size and comparison to main:

Section Size Difference
text 376952B -48B
data 940B 0B
bss 63548B 8B

github-actions[bot] avatar May 06 '24 22:05 github-actions[bot]