Altera_Forum
Honored Contributor
9 years agoCustom component for stdout
Hi,
I believe the answer to this question must be pretty straight forward. I just don't get it... I try to use my own Uart component as stdout, stdin and stderr device for my Nios 2 SOPC. Where is the setting in my custom component files that tells the BSP editor to let it be choosable in the stdout, stdin, stderr combo box? I read many HAL driver development docs and application notes. I found that the HAL does know of different hardware classes for drivers. So I thought there must be a way to declare my driver as character module. Most likely in the *SW.tcl file. But I did not find any hint on how to do it. My driver files are according to the requirements for a char device driver. However, BSP editor does not offer me my custom component in the the drop down boxes for the STD streams.... Thanks, Maik