Hi @fireflies_at_night
Sorry for the late reply.
I'm currently working on your case and I would like to review the project you share with me, however, I'm not able to see through:
UART_WriteByte(); and DB_PRINT();
I want to review the uart write byte function specially.
Regarding your questions:
The UART0 is defined aside the other uart instances on the MKL25Z4.h file.

Also, according to the schematic of the FRDM-KL25Z, using the UART2 to print on the terminal should not be possible since the UART0 instance is the one connected to the K20 OpenSDA interface on the FRDM-KL25Z, I would like to review completely the project and try out my self your configuration to verify my understanding.
I would like to recommend you to update the MCUXpresso IDE version, right now the newer version is the 11.8 and the FRDM-KL25Z's SDK currently is on the 2.2 version, we recommend to use the newer versions since they come with some bug fixes.
Best Regards, Miguel.