Hi everybody, I have a problem with a compilation project in Keil. File chibios.c not compiled, Keil produces 2 errors: in void *gfxRealloc(void *ptr, size_t oldsz, size_t newsz) { void *np; if (newsz <= oldsz) return ptr; np = gfxAlloc(newsz); // 63 string string with error if (!np) return 0; if (oldsz) memcpy(np, ptr, oldsz); return np; } error: ext\ugfx\src\gos\chibios.c(63): warning: #223-D: function "chHeapAlloc" declared implicitly ext\ugfx\src\gos\chibios.c(63): error: #513: a value of type "int" cannot be assigned to an entity of type "void *" second gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_t prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param) { if (!stackarea) { if (!stacksz) stacksz = 256; return chThdCreateFromHeap(0, stacksz, prio, fn, param); //156 string with error } if (!stacksz) return 0; return chThdCreateStatic(stackarea, stacksz, prio, fn, param); } error ext\ugfx\src\gos\chibios.c(156): warning: #223-D: function "chThdCreateFromHeap" declared implicitly ext\ugfx\src\gos\chibios.c(156): error: #120: return value type does not match the function type Chibios without ugfx work fine. Please help me.