Forum Discussion
ETang2
Occasional Contributor
4 months agoNiosV and juart-terminal
I had a project which works fine under niosII. I upgrade all the project with niosv and all seems fine except printing values in juart-terminal. Here is the main code : #include <stdio.h> #inclu...
- 4 months ago
Summary:
- printf(%f) always prints 0, even if the variable contains valid floating-point number.
Change the On-Chip Ram size from decimal (such as 167.5KB / 167500 bytes) to binary (such as 167KiB / 171008 bytes). - Character é is printed wrongly.
Change the active code page of Windows's command prompt from 437 to 65001 (UTF-8)
- printf(%f) always prints 0, even if the variable contains valid floating-point number.
ETang2
Occasional Contributor
4 months agoIt solve the problem! Thanks.
While I understand the need for this, I don't see which document specifies it. If I remember correctly, I didn't have this problem with the Nios II.
Regards
Eric