Hi Jama,
I'm assuming you are using MQX4.1.1 or MQX4.2.0. Please correct me if wrong.
What Kinetis device are you using? I'm assuming you are using a Tower hardware setup.
Two suggestions:
1) study up on the C:\Freescale\Freescale_MQX_4_2\demo\web_hvac project. It has many tasks that use printf. The UART/tty device is setup in the BSP and accessible from all tasks. You just need to be careful that one task is not printing a large buffer and get interrupted by a higher priority task that messes up you data transmission or reception. So use a mutex or semaphore as needed.
2) The UART/tty device is configured in the user_config.h of the BSP. It typically defaults to polling mode but you can switch it to interrupt mode which will allow a buffer to be used when receiving or sending a lot of data. The data buffer defaults to 64 bytes but can be changed in (example: twrk70f120m.h).
/*
** TTYA and ITTYA buffer size
** MGCT: <option type="number" min="0" max="256"/>
*/
#ifndef BSPCFG_SCI0_QUEUE_SIZE
#define BSPCFG_SCI0_QUEUE_SIZE 64
#endif
Ignore the max=256 note.
Regards,
David