Calling Printf() in task

michaeln32 wrote on Tuesday, January 16, 2018:

Hi,
I’m using Printf() task.

Is calling printf() in task can destroy the functionality of the API prvTaskCheckFreeStackSpace() ?

richard_damon wrote on Tuesday, January 16, 2018:

printf won’t break stack checking, but printf can use a lot of stack, so it is easy for it to overflow the stack if you don’t allocate enough.

michaeln32 wrote on Tuesday, January 16, 2018:

Ok Richard.

Thank you !