variable parameter list

gerhardkreuzer wrote on Thursday, May 28, 2015:

Hi,

is there any issue ahead to use variable Parameter lists with FreeRTOS (reentrant, preemptive tasking …)

Here a sample to Show what I want to do:

void test_delegate(uint8_t x, …)
{
va_list argPtr;
int y,z;

va_start(argPtr, x);
y = va_arg(argPtr, int);
z = va_arg(argPtr, int);
va_end(argPtr);	

}

With best rehards

Gerhard

rtel wrote on Thursday, May 28, 2015:

Provided you have enough stack, you should not have a problem. We use variable argument lists to implement FreeRTOS_printf() in both FreeRTOS+TCP and FreeRTOS+FAT.

Regards.