The simplest way to do that wouldn’t use FreeRTOS at all, but just an ISR.
The demo program provided with FreeRTOS do have code that has the ISR put the receive character into a Queue, and then a task read from the Queue, put it into another Queue and activate a transmit function.
Note, all the ISR part of that code will be VERY processor specific.