Im having trouble with adding any variable type to sprintf.
sprintf(TXdataBuffer,"Counter = \r\n");
works as I expect, but:
unsigned int counter=0;
unsigned int counter=0; sprintf(TXdataBuffer,"Counter = %u \r\n",counter);
gives a compiller error: undefined reference to -sbrk
I have only used sprintf with AVR before, now im trying to use with 32bit and am having these troubles.
thanks for any ideas.