Question
Canvas buffer generated by Designer
Hi,
I have allocated memory in external sdram and set buffer using CanvasWidgetRenderer::setupBuffer() method. Generated base class for my view is allocating memory in internal RAM and in constructor is passing it to setupBuffer mehod. How to avoid this behaviour? Can I tell somehow to Designer that memory is allocated already?
Definition:
static const uint16_t CANVAS_BUFFER_SIZE = 12000;
uint8_t canvasBuffer[CANVAS_BUFFER_SIZE];First line of view base class constructor:
CanvasWidgetRenderer::setupBuffer(canvasBuffer, CANVAS_BUFFER_SIZE);