NIOS II uart 应用小结
0赞
发表于 6/27/2011 7:56:47 PM
阅读(3455)
(1)使用内部集成,在NIOS 的编译选项中System Library 中stdout,stdin,stderr选择配置的串口。
#include <stdio.h>
int main()
{
while(1)
{
printf("Hello World,Nios II!\n");
printf("欢迎\n");
}
return 0;
}
