Does anybody know the Error Result: “VGDB1000: undefined reference to `_sbrk'”
I get it when compiling code for a STM32F103VET6, i know the line which causes it:
snippet:
void displayMemory(uint8_t ant, uint8_t mem)
{
uint8_t tempstr[30];
LCD_SetFGColor(MEM_COLOR);
LCD_SetBGColor(BackLightColor);
LCD_SetFont(&MEM_FONT);
sprintf(tempstr,”# %d L= %d C= %d”,mem,Memory[ant][mem].L,Memory[ant][mem].C);
LCD_DisplayStringLine(1,90,tempstr);
}
end snippet
the sprintf causes the problem. It seems as if newlib does not implement the sprintf correctly.
Has anybody a workaround for that behavior?