Partial framebuffer article and generated code missing details
I am trying to implement this using an ILI9341 display, like here helentronica.com/2021/01/22/touchgfx-on-a-custom-made-low-cost-board-with-the-ili9341-controller-over-spi/
The article at support.touchgfx.com/4.21/docs/development/scenarios/lowering-memory-usage-with-partial-framebuffer does not provide sufficient details for implementing this strategy using the latest generated code (STM32CubeIDE 1.11.00). A few issues:
- startNewTransfer is shown in the article as being in TouchGFXHAL.cpp, but the code generator puts it in TouchGFXGeneratedHAL.cpp, which is supposed to not be edited, and it's not declared with __weak, so it cannot be overridden.
- startNewTransfer has an additional line blockIsTransferred = true; which does not appear in the generated code, and blockIsTransferred is not declared anywhere. I saw some implementation elsewhere that had it connected to FrameBufferAllocatorWaitOnTransfer and FrameBufferAllocatorSignalBlockDrawn, but neither is mentioned in the article.
Is there an up-to date version of this article somewhere I'm missing? Or a complete functioning example?
Sorry for not linking, "new" members can't post links.
