Hello Joel,
Thanks for responding! Im using 2.9 release from the main website. The board in question is an Alieexpress dev board featuring an h743/256Mbit SDRAM and LTDC screen.
As for ChibiOS its the current master branch v21
//Update, the following code results in the following
#include "ch.h"
#include "hal.h"
#include "gfx.h"
#include "gfx_thread.h"
GListener glistener;
static gdispImage myImage;
static THD_WORKING_AREA(waGUI, 512);
static THD_FUNCTION(GUIThread, arg) {
(void)arg;
gfxInit();
geventListenerInit(&glistener);
gwinAttachListener(&glistener);
const font_t font = gdispOpenFont("DEJAVUSANS10");
GDisplay * g = gdispGetDisplay(0);
while (true) {
chThdSleepMilliseconds(200);
gdispGClear(g, Black);
gdispGFlush(g);
gdispGDrawString(g, 20, 20, "Hello from ChibiOS with UGFX", font, Yellow);
gdispGFlush(g);
chThdSleepMilliseconds(200);
gdispGDrawCircle(g, 256, 300, 150, Yellow);
gdispGFlush(g);
gdispGDrawChar(g, 256, 300, "X", font, Blue);
gdispGFlush(g);
}
}
void startGFX(void)
{
chThdCreateStatic(waGUI, sizeof(waGUI), NORMALPRIO, GUIThread, NULL);
}