I have to admit to not ever having used printf() within the uTasker project myself but I believe some users have, so this shouldn't be a big difficulty.
WOW! i thought i never would hear anyone say that!
it seems you and i are night and day different when it comes to debugging.
i use printf all the time, in every program i ever wrote. i like to know where the uP is at and what its currently doing. printf is my personal debug method. you might think im nuts but i thing debuggers are a waste of time
before you send me up the river with that statement, let me explain why. almost ever project i do has some sort of external peripheral i need to talk to. years ago, when i gave debugging a try i got bit by it and never looked back.
Since debugging did not allow me to run full speed so my project worked. when i ran it at full speed i had problems. it took allot of pulling hair out to find out why. as it turns out a few properly placed printf's running full speed saved the day. the problem was a board trace layout issue, was to close to a power supply rail, and picking up noise. this would only be a problem at full cpu speed.
I would imagine that today debuggers might be different, but i have used printf for so long not and i never run into trouble doing it this way. so i figure why bother with the debugger when i can print the same thing to the terminal.
so if i comment out the your size_t and then use my
void __putchar(int ch)
{
UARTWriteChar(ch);
}
to write to the uart tx buffer, i should be good to go then.