Hi,
there already are some threads and resources about the implementation of printf:
https://community.nxp.com/t5/S32-SDK/S32K-and-printf-implementation/m-p/867907
Regards,
Lukas
Sorry, the second link is for S32K... but the first one should cover your needs.