在做定时器中断的时候遇到了如下错误
不知道是什么意思
困惑啊
*** Incremental build of configuration Debug for project hello_led_0 ****
make -s all
Compiling hello_led.c...
../hello_led.c: In function `main':
../hello_led.c:25: warning: implicit declaration of function `alt_irq_register'
../hello_led.c:40:2: warning: no newline at end of file
Linking hello_led_0.elf...
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region RAM is full (hello_led_0.elf section .text). Region needs to be 3972 bytes larger.
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region RAM is full (hello_led_0.elf section .rwdata). Region needs to be 16 bytes larger.
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00000820 -> 00000823] overlaps section .exceptions [00000820 -> 000009c7]
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [00000824 -> 0000100f] overlaps section .exceptions [00000820 -> 000009c7]
/cygdrive/d/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00000820 -> 00000a37] overlaps section .exceptions [00000820 -> 000009c7]
obj/hello_led.o(.text+0x88): In function `main':
../hello_led.c:24: Unable to reach count (at 0x00000820) from the global pointer (at 0x00008fd0) because the offset (-34736) is out of the allowed range, -32678 to 32767.
collect2: ld returned 1 exit status
make: *** [hello_led_0.elf] Error 1
Build completed
Region needs to be 3972 bytes larger
你是在FPGA上使用的片上ram吗,系统提示空间不够。
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |