Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

nios error

Altera_Forum
Honored Contributor II
1,254 Views

**** Build of configuration Debug for project hello_world_12 **** 

 

 

make -s all includes  

Linking hello_world_12.elf... 

/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: region onchip_memory2_0 is full (hello_world_12.elf section .text). Region needs to be 26004 bytes larger. 

/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rodata [00008020 -> 00008507] overlaps section .exceptions [00008020 -> 000081c7] 

/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rwdata [00008508 -> 00009f33] overlaps section .text [000081c8 -> 00013593] 

/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .bss [00009f34 -> 0000a147] overlaps section .text [000081c8 -> 00013593] 

collect2: ld returned 1 exit status 

make: *** [hello_world_12.elf] Error 1 

Build completed in 1.875 seconds
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
535 Views

You won't build that project to run in less that about 80k it pulls in far too much library code from libc. 

There is a smaller example, but none of the Altera examples are really small.
0 Kudos
Altera_Forum
Honored Contributor II
535 Views

Hi, you don't have enough memory on your board.

0 Kudos
Reply