Forum Discussion
Altera_Forum
Honored Contributor
9 years agoCompilation Error
Dear All, I'm trying to build a very basic system on Altera's DE2 board and following the correct procedure as specified by the provided tutorial, but for the last two days, I'm just stuck in t...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Check in the BSP editor that you have set up the locations of the parts of memory in the appropriate components in your Qsys system (the linker script). You have them set up in onchip_memory2_0, but maybe you've specified a different address location in the Nios parameter editor. --- Quote End --- c:/altera/13.0sp1/nios2eds/bin/gnu/h-i686-mingw32/bin/../lib/gcc/nios2-elf/4.1.2/../../../../nios2-elf/bin/ld.exe: hello_world.elf section `.text' will not fit in region `onchip_memory2_0' do you understand this line?? I have checked the Nios II BSP editor linker script section and all the memory sections are specified in the onchip_memory2_0 Can the onchip_memory size be the reason? I have specified 4K as given in the tutorial..