Altera_Forum
Honored Contributor
10 years agouse printf in niosii
I can use "printf("Hello from Nios II!\n");" to print "Hello from Nios II!\n " when I run the code on FPGA board.
However when I try to print a int, the compiler(Eclipse) doesn't generate the elf file and there is a error... How can i solve it?int test = 10;
printf("test = %d\n", test);