Hi Jiri,
With default code you shared, binary size is 70 KB.
I customized the code as per my requirement.
For your information:
I am not using printf/scanf, instead I am using LPUART_DRV_SendData() and LPUART_DRV_ReceiveData().
Customized code has only below files.

Customized rtos.c has simple implementation(below snippet), uARTTask task will receive and send data from UART using above functions.
*******************************************************************************************
void rtos_start( void )
{
prvSetupHardware();
xTaskCreate( uARTTask, "TX", configMINIMAL_STACK_SIZE, NULL, TASK_PRIORITY, NULL );
vTaskStartScheduler();
for( ;; );
}
*******************************************************************************************
Now the question is why binary of this simple implementation is 45KB ? Any suggestions please.
Thanks
Mohan