Forum Discussion
Altera_Forum
Honored Contributor
12 years agoalt_printf() not working properly
Hi, I have a problem with the alt_printf() function on my Altera Cyclone IV EP4CE22E22 and Nios II. I got jtaguart as stdout, I've done a simple code like this: # include "sys/alt_stdio.h" int m...
Altera_Forum
Honored Contributor
12 years agoNo, the 'char' value is promoted to 'int' before being passed as an argument.
I think alt_printf() is a cut down version, check which conversions it supports.