07-21-2021 06:59 AM
07-21-2021 12:54 PM
@savula are you sure? At one time they were not the same. I thought one was lightweight (i.e., didn't support %f), the other was not (e.g., supported %f). I don't have time to check right now.
07-21-2021 01:24 PM
If both are same why was xil_print created after all (from a developer's point of view it does not make much sense)?
Consider giving "Kudos" if you like my answer. Please mark my post "Accept as solution" if my answer has solved your problem
Asking for solutions to problems via PM will be ignored.
07-21-2021 02:05 PM
I'm not the expert here, but definitely also remember them NOT being the same.
A quick check of the current OS libraries reveals
xil_printf() is a light-weight implementation of printf. It is much smaller in size (only 1 Kb). It
does not have support for floating point numbers. xil_printf() also does not support
printing of long (such as 64-bit) numbers.