假设你的uclinux系统已经有了核和文件系统。然后 1。在Mcrotronix niosii 中选linux application project一路next到finish. 2.在app中建一个new->file 如hello.c 3.然后在nios2/example/software/linux/apps samples/hello中找到makefile,并考到hello。c的路径下,makefile的制作看Linux Reference Guaid 19页 4。然后Creat Make Target.... Build Make Target.... 在把exe考到文件系统/bin/中,就可以像运行shell命令一样运行程序了
[此贴子已经被作者于2007-2-6 21:50:26编辑过] |