Why can't I use siprintf() with Nios II when using the small newlib library? - Why can't I use siprintf() with Nios II when using the small newlib library?
Description In the Nios ® II Software Build Tools, there is an option to use the small newlib c library. However, when this option is selected in the Board Support Package (BSP), it is no longer possible to use the siprintf() function, which is incorrectly stripped from the library. The siprintf() function is a stripped-down version of sprintf() without the support for floating point operators. However, as the small newlib library removes support for floating point operatins on all of the printf() derivitives, effectively siprintf and sprintf are the same. Replacing siprintf with sprintf in your code will work around the issue. This issue is planned to be fixed in a later version of the Nios II Software Build Tools.
Custom Fields values:
['novalue']
Troubleshooting
novalue
False
['Nios® II Processor']
['FPGA Dev Tools Quartus II Software']
novalue
11.0.1
['Programmable Logic Devices']
['novalue']
['novalue']
['novalue'] - 2021-08-25
external_document