Integration of Repository Widget Examples "Gauge" and "Graph" not working
Hello all,
I tried to integrate the Gauge and Graph examples (from the repository) into my project, but both (separately tried) result in a lock up of the system as soon as the components are generated in the view class.
I took care to include the call for "setupBuffer "at the end of touchgfx_init and included the following lines:
#define CANVAS_BUFFER_SIZE (3600*3)
static uint8_t canvasBuffer[CANVAS_BUFFER_SIZE];
CanvasWidgetRenderer::setupBuffer(canvasBuffer, CANVAS_BUFFER_SIZE);
I copied the code from the template view into my own screen view class without further modification.
When I debug the code in the embedded system, the system hangs as soon as I enter the view. The call stack shows that it sticks in PainterRGB565::PainterRGB565 (color 0x00, alpha 0xFF).
Any ideas what could be the reason?
