标题:
刚接触NIOS 请教个问题,书上写的不清楚呀
[打印本页]
作者:
zqy2000zqy
时间:
2005-3-14 13:01
标题:
刚接触NIOS 请教个问题,书上写的不清楚呀
SOPC BUILDER 生成了 excalibur.h
在NIOS IDE里的程序
语句 #include "excalibur.h" 可提示错误说没有这个文件。。。
请问怎么设置?
这个文件需要先怎么处理一下?
还提示这个错误为什么?
**** Incremental build of configuration Debug for project ledpio ****
make -k -s all
Compiling ledpio.c...
../ledpio.c:7:2: warning: no newline at end of file
Creating generated.x...
WARNING: Default charset GBK not supported, using ISO-8859-1 instead
Linking ledpio.elf...
/cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region onchip_memory_0 is full (ledpio.elf section .text)
/cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00000020 -> 00000023] overlaps section .exceptions [00000020 -> 000001d3]
/cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [00000024 -> 000007f7] overlaps section .exceptions [00000020 -> 000001d3]
/cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [000007f8 -> 0000090b] overlaps section .text [000001d4 -> 0000121b]
collect2: ld returned 1 exit status
make: *** [ledpio.elf] Error 1
make: Target `all' not remade because of errors.
Build completed
作者:
Simon.Embed
时间:
2005-3-14 13:01
在IDE里面开发应该用头文件system.h,而excalibur.h是在使用SDK开发时用!
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/)
Powered by Discuz! 7.0.0