Altera_Forum
Honored Contributor
14 years agoUse full C library for Nios II on DE2 Board
Hello Everyone,
I'm trying to program a Nios II on a DE2 Board and to use the normal or full C libraries. When I build my software project with the corresponding version of Eclipse, I get an error message:../../nios2-elf/bin/ld.exe: Test_Project.elf section `.text' will not fit in region `onchip_mem'
../../nios2-elf/bin/ld.exe: region `onchip_mem' overflowed by 8192 bytesIf I increase the memory size of the onchip-mem about 8 kB, the Nios II-Design doesn't fit into the Cyclone II FPGA anymore. If I try to store this .text section I another memory (e.g. SDRAM), Nios II doesn't do anything. Other programs using the small C library are workling fine, but for a new project I need the complete library. Can someone help me or know how to solve this problem?? Greetings & thank you very much!